[ https://issues.apache.org/jira/browse/GROOVY-7475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054707#comment-15054707 ]
John Wagenleitner commented on GROOVY-7475: ------------------------------------------- Just wanted to point out that the provided example had two spots (see below) where there was a comma instead of a colon. This could just have been a mistake in trying to post a generic example. But I've tried in v2.4.5 and it handles 18 or more without a problem. {code} Person aPerson = new Person( prop1: value1, prop2: value2, prop3:value3, prop4 : value4, prop5 : value5, prop6: value6, prop7: value7, prop8 : value8, prop9: value9, prop10: value10, prop11: value11, prop12: value12, prop13, value13, // <-- comma instead of colon prop14: value10, prop15: value11, prop16: value12, prop17, value13, // <-- comma instead of colon prop18: value14) {code} > Seems to have limit on number of attributes when making new instance > -------------------------------------------------------------------- > > Key: GROOVY-7475 > URL: https://issues.apache.org/jira/browse/GROOVY-7475 > Project: Groovy > Issue Type: Bug > Components: groovy-runtime > Affects Versions: 2.3.11 > Environment: grails 2.3.11 > Reporter: Olfa Arfani > > Person aPerson = new Person( > prop1: value1, > prop2: value2, > prop3:value3, > prop4 : value4, > prop5 : value5, > prop6: value6, > prop7: value7, > prop8 : value8, > prop9: value9, > prop10: value10, > prop11: value11, > prop12: value12, > prop13, value13, > prop14: value10, > prop15: value11, > prop16: value12, > prop17, value13, > prop18: value14) > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)