Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-beta-4
-
None
-
None
Description
groovy> 'x' + 4
groovy>
"x4"
groovy> 4 + 'x'
groovy>
Caught: groovy.lang.MissingMethodException: No such method: plus for class: java.lang.Integer with arguments: [x]
groovy.lang.MissingMethodException: No such method: plus for class: java.lang.Integer with arguments: [x]
at groovy.lang.MetaClass.invokeStaticMethod(MetaClass.java:291)
at groovy.lang.MetaClass.invokeMethod(MetaClass.java:247)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:130)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:98)
at CommandLine2.run(CommandLine2.groovy)