Saravanan created GROOVY-11644:
----------------------------------

             Summary: Record classes with a map parameter cause errors with 
duplicate map constructors
                 Key: GROOVY-11644
                 URL: https://issues.apache.org/jira/browse/GROOVY-11644
             Project: Groovy
          Issue Type: Bug
          Components: Static compilation
    Affects Versions: 5.0.0-alpha-12
            Reporter: Saravanan


Records that have a map field with static compilation enabled will produce this 
error

 
{code:java}
// The constructor public void <init>(java.util.Map __namedArgs) { ... 
}duplicates another constructor of the same signature

record AttributeRules(Map<String, List<Integer>> ruleIDs) {
}
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to