You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2017/09/08 16:25:00 UTC
[jira] [Created] (GROOVY-8311) [Parrot]Failed to check duplicated
parameters properly
Daniel Sun created GROOVY-8311:
----------------------------------
Summary: [Parrot]Failed to check duplicated parameters properly
Key: GROOVY-8311
URL: https://issues.apache.org/jira/browse/GROOVY-8311
Project: Groovy
Issue Type: Bug
Components: parser
Affects Versions: 2.6.0-alpha-1
Reporter: Daniel Sun
Assignee: Daniel Sun
Fix For: 2.6.0-alpha-2
The following code yields {{Duplicated named parameter 'name' found at line: 5, column: 27}}
{code:java}
def greet(args) {
[args.name, args.age]
}
def name = 'age'
assert greet(name: 'Doe', (name): 8) == ['Doe', 8]
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)