Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
file Base.groovy:
package groovy.bugs.groovy9243 class Base { static class X {} }
file Main.groovy:
package groovy.bugs.groovy9243 class Groovy9243 extends Base { def accessX() { assert new X() } } new Groovy9243().accessX()
compile Main.groovy with groovyc: unable to resolve class X
Here is a workaround:
file Main.groovy:
package groovy.bugs.groovy9243 class Groovy9243 extends Base { def accessX() { assert new Base.X() // qualify the type name } } new Groovy9243().accessX()
Attachments
Issue Links
- links to