[ 
https://issues.apache.org/jira/browse/GROOVY-8362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215789#comment-16215789
 ] 

Daniil Ovchinnikov commented on GROOVY-8362:
--------------------------------------------

I can provide pull requests for issues opened by me if somebody could explain 
if this is really a bug or an undocumented feature.

> 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)

Reply via email to