mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Should not define Float class in mrblib/00class.rb; ref #3828
Unless it is defined in `numeric.c`.
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ class Float
|
||||
# mruby special - since mruby integers may be upgraded to floats,
|
||||
# floats should be compatible to integers.
|
||||
include Integral
|
||||
end
|
||||
end if class_defined?("Float")
|
||||
|
||||
Reference in New Issue
Block a user