You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (JIRA)" <ji...@apache.org> on 2018/03/14 19:53:00 UTC
[jira] [Created] (GROOVY-8511) @PackageScope(METHODS) fails under
Parrot Parser due to synthetic public determination
Eric Milles created GROOVY-8511:
-----------------------------------
Summary: @PackageScope(METHODS) fails under Parrot Parser due to synthetic public determination
Key: GROOVY-8511
URL: https://issues.apache.org/jira/browse/GROOVY-8511
Project: Groovy
Issue Type: Bug
Affects Versions: 2.6.0-alpha-3
Reporter: Eric Milles
The new Parrot Parser does not set the synthetic public flag quite the same as before for methods. This affects {{@PackageScope(PackageScopeTarget.METHODS)}} specifically because it checks that a method is synthetic public before altering the method's modifiers.
You can compare how this flag is set for methods in {{AntlrParserPlugin.methodDef}} and {{AstBuilder.visitMethodDeclaration(MethodDeclarationContext)}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)