You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniil Ovchinnikov (JIRA)" <ji...@apache.org> on 2017/10/20 15:51:00 UTC

[jira] [Created] (GROOVY-8362) Nested class is resolved via another nested class with package name

Daniil Ovchinnikov created GROOVY-8362:
------------------------------------------

             Summary: Nested class is resolved via another nested class with package name
                 Key: GROOVY-8362
                 URL: https://issues.apache.org/jira/browse/GROOVY-8362
             Project: Groovy
          Issue Type: Bug
            Reporter: Daniil Ovchinnikov
            Priority: Critical


{code:title=bugs/bugs.groovy}
package bugs

class Current {

  static class bugs {
    static class Target {}
  }

  static usage() {
    new Target() // error expected
  }
}

println Current.usage() // bugs.Current$bugs$Target@20d28811
{code}



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