Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
Groovy Version: 1.0-RC-01-SNAPSHOT JVM: 1.5.0_06-b05
Description
class Something {
static int VALUE = 10
}
class AnotherThing {
def method(int somearg=Something.VALUE) { }
}
new AnotherThing().method()
The above throws a MissingPropertyException:
groovy.lang.MissingPropertyException: No such property: Something for class: AnotherThing