Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-3
-
Fix Version/s: 2.0-rc-3
-
Component/s: Compiler, Static Type Checker
-
Labels:None
-
Number of attachments :
Description
The compiler fails to recognize the delegate variable and getOwner method on the class definition below:
@TypeChecked
class StaticGroovy {
def bar() {
def foo = {[ this, delegate, getOwner()]}
}
}