Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7-beta-1
-
Fix Version/s: 1.6.3, 1.7-beta-1
-
Component/s: None
-
Labels:None
-
Testcase included:yes
Description
The following code:
MyClass.groovy
class MyClass {
public enum Foo { FOO, BAR }
Foo foo
}
Causes the error message:
/home/martin/panjiva/MyClass.groovy: 4: unable to resolve class Foo
@ line 4, column 3.
Foo foo
^
he inner enum is supported. What is missing is making the name available without qualification through MyClass. MyClass.Foo should do for example