[ https://issues.apache.org/jira/browse/GROOVY-9449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun reassigned GROOVY-9449: ---------------------------------- Assignee: Daniel Sun > Mutliple methods with the same name now fail before AST transformations can > fix it > ---------------------------------------------------------------------------------- > > Key: GROOVY-9449 > URL: https://issues.apache.org/jira/browse/GROOVY-9449 > Project: Groovy > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Björn Kautler > Assignee: Daniel Sun > Priority: Major > > The parser in Groovy 3 fails early on multiple methods with the same name. > For example in a Spock specification with Groovy 2.5 you can have mutliple > methods with the same name. > After the Spock AST transformations are done, there are only unique method > names left and all is fine. > But with Groovy 3, the parser fails with error before the AST transformation > had a chance to fix things up. > Setting the system property {{groovy.antlr4=false}} restores the previous > behavior. -- This message was sent by Atlassian Jira (v8.3.4#803005)