groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Milles (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (GROOVY-8511) @PackageScope(METHODS) fails under Parrot Parser due to synthetic public determination
Date Thu, 15 Mar 2018 17:50:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Milles reopened GROOVY-8511:
---------------------------------

> @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
>            Assignee: Daniel Sun
>            Priority: Major
>
> 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)

Mime
View raw message