You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/05/22 14:10:00 UTC
[jira] [Reopened] (GROOVY-8551) Parrot Parser: support multi-dimensional array initializers
[ https://issues.apache.org/jira/browse/GROOVY-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles reopened GROOVY-8551:
---------------------------------
Assignee: (was: Daniel Sun)
> Parrot Parser: support multi-dimensional array initializers
> -----------------------------------------------------------
>
> Key: GROOVY-8551
> URL: https://issues.apache.org/jira/browse/GROOVY-8551
> Project: Groovy
> Issue Type: Improvement
> Components: parser-antlr4
> Affects Versions: 2.6.0-alpha-3, 3.0.0-alpha-2
> Reporter: Eric Milles
> Priority: Minor
>
> GROOVY-3791 indicates support for Java-style array initializer is now supported by Parrot Parser. However, a compact multi-dimensional initializer still fails:
> {code:groovy}
> def strings = new String[][] { { "a", "b", "c" }, { "1", "2", "3" } }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)