Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-3
-
None
-
None
Description
c1 =
{a, b -> println "a= $a b = $b"}c2 = c1.curry(1)
c2(2)
c2.delegate = null
c2(3)
Produces:
a= 1 b = 2
Caught: java.lang.NullPointerException
java.lang.NullPointerException
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:306)