[ 
https://issues.apache.org/jira/browse/GROOVY-8361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniil Ovchinnikov updated GROOVY-8361:
---------------------------------------
    Summary: Nested class is resolved via aliased static import  (was: Class is 
resolved via aliased static import)

> Nested class is resolved via aliased static import
> --------------------------------------------------
>
>                 Key: GROOVY-8361
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8361
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Daniil Ovchinnikov
>            Priority: Critical
>
> {code:title=unrelatedPackage/Container.groovy}
> package unrelatedPackage
> class Container {
>   static class Target {}
> }
> {code}
> {code:title=bugs/bugs.groovy}
> package bugs
> import static unrelatedPackage.Container.Target as Unrelated
> println new Target() // reference is expected to be unresolved
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to