Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
def test(Double d)
{ println d; }println test(100)
results in:
Caught: groovy.lang.GroovyRuntimeException: failed to invoke method: org.codehaus.groovy.runtime.ReflectionMetaMethod@86d597[name: test params: [class java.lang.Double] returns: class java.lang.Object owner: class test4] on: test4@30b601 with arguments: [100] reason: java.lang.IllegalArgumentException: argument type mismatch