Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
classes.groovy
package bugs class CurrentParent { static class Target {} }
bug.groovy
package bugs class Current extends CurrentParent { static usage() { new Target() } }
This works if files are compiled together, but fails if files are compiled one by one with Error:(5, 5) Groovyc: unable to resolve class Target
Attachments
Issue Links
- is related to
-
GROOVY-8358 Nested class resolution behaves differently depending on class order
- Closed
- relates to
-
GROOVY-8364 Nested class of parent Java class is not resolved
- Closed