Daniil Ovchinnikov created GROOVY-8361:
------------------------------------------

             Summary: 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()
{code}

{{Target}} reference is expected to be unresolved



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

Reply via email to