Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
def c =
{a -> println z}def cc = c.curry(1)
cc.delegate = [z: "goodbye"]
cc()
throws
Caught: groovy.lang.MissingPropertyException: No such property: z for class: test
groovy.lang.MissingPropertyException: No such property: z for class: test
at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:888)
at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:2077)
at groovy.lang.GroovyObjectSupport.getProperty(GroovyObjectSupport.java:65)
at groovy.lang.Script.getProperty(Script.java:85)
Issue Links
- relates to
-
GROOVY-1730
curried closure: getParameterTypes() doesn't work
-