Details
-
Type:
Bug
-
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: Compiler
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
A.groovy:
package foo class A { static bar() {} }
B.groovy:
package foo import static A.* // compile error: unable to resolve class A class B { def baz() { bar() }
}
"import static foo.A.*" and "import static A.bar" work as expected.
It does not really seem to be related to import static feature because even compilation of the following fails.
Pretty basic usage. Seems to be a serious bug!
It can't see groovy classes of the same package!
A.groovy
package foo class A {}B.groovy