Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
-
None
Description
As reported by Peter on groovy user mailing list - :
class Foo { double myDouble float myFloat } def foo = new Foo() // OK foo.setMyDouble 0.1 /* groovy.lang.MissingMethodException: No signature of method: Foo.setMyFloat() is applicable for argument types: (java.math.BigDecimal) values: 0.1] */ foo.setMyFloat 0.1