Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.0-rc-3
-
None
Description
This code:
@Newify String test() { new Object() { def x() { String.new('ABC') } }.x() } assert "ABC"==test()
results in:
groovy.lang.MissingMethodException: No signature of method: static java.lang.String.new() is applicable for argument types: (java.lang.String) values: [ABC]