eric-milles commented on PR #1997: URL: https://github.com/apache/groovy/pull/1997#issuecomment-1826862454
Now `private` methods are supported in interfaces. Are `static` also supported? It was less clear from the changes if this is the case. Also, are there tests for `protected` and `@PackageScope` method errors? I can't quite find them among the tests. Is there a statement about property support -- I assume now "def foo" is a `static final` constant -- or any other differences from the Groovy 4 trait solution? Regarding `InterfaceName.this.method()`, is that an issue of the method indexing or the access restriction or the `invokeinterface` instruction? Just curious what that's about and if there is some implication to an implementer calling the interface's private method from outside the interface's own methods. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
