[
https://issues.apache.org/jira/browse/GROOVY-11855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18144922#comment-18144922
]
ASF GitHub Bot commented on GROOVY-11855:
-----------------------------------------
testlens-app[bot] commented on PR #3300:
URL: https://github.com/apache/groovy/pull/3300#issuecomment-6882551909
## ✅ All tests passed ✅
🏷️ Commit: 4ffe37040535db6e7d58690af313d28196cabbd1
▶️ Tests: 131903 executed
⚪️ Checks: 27/27 completed
---
_Learn more about TestLens at
[testlens.app/docs](https://testlens.app/docs/features/pr-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)