Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In http://groovy.codehaus.org/api/groovy/lang/Closure.html, the following fields:
http://groovy.codehaus.org/api/groovy/lang/Closure.html#DELEGATE_FIRST
http://groovy.codehaus.org/api/groovy/lang/Closure.html#DELEGATE_ONLY
http://groovy.codehaus.org/api/groovy/lang/Closure.html#OWNER_FIRST
http://groovy.codehaus.org/api/groovy/lang/Closure.html#OWNER_ONLY
http://groovy.codehaus.org/api/groovy/lang/Closure.html#TO_SELF
only speak to property resolution. However, the resolveStrategy also has an effect on ClosureMetaClass in terms of method resolution. This should be documented as this relationship is not obvious and not easy to find.