groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-8551) Parrot Parser: support multi-dimensional array initializers
Date Thu, 19 Apr 2018 09:15:01 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Sun closed GROOVY-8551.
------------------------------
    Resolution: Not A Bug

Please try the following code:
{code:java}
def strings = new String[][] { new String[] { "a", "b", "c" }, new String[] { "1", "2", "3"
} }
{code}

> Parrot Parser: support multi-dimensional array initializers
> -----------------------------------------------------------
>
>                 Key: GROOVY-8551
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8551
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.6.0-alpha-3, 3.0.0-alpha-2
>            Reporter: Eric Milles
>            Assignee: Daniel Sun
>            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
(v7.6.3#76005)

Mime
View raw message