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

ASF GitHub Bot commented on GROOVY-11855:
-----------------------------------------

eric-milles opened a new pull request, #3300:
URL: https://github.com/apache/groovy/pull/3300

   (no comment)




> Access to outer class static members for inner interface
> --------------------------------------------------------
>
>                 Key: GROOVY-11855
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11855
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Major
>
> Consider the following:
> {code:groovy}
> class Outer {
>     interface Inner {
>         default i() {
>             'i' + o
>         }
>     }
>     private static o = 'o'
> }
> {code}
> or
> {code:groovy}
> class Outer {
>     interface Inner {
>         default i() {
>             'i' + o()
>         }
>     }
>     private static o() { 'o' }
> }
> {code}
> Access to field "o" or method "o()" should be possible since the members are 
> static.  At this time, both result in missing member exceptions.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to