[
https://issues.apache.org/jira/browse/GROOVY-11067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-11067:
---------------------------------
Description: Follow up from GROOVY-11060: `[a, *bees, c] as Type[]` is
supported for dynamic and static groovy. However, `new Type[]\{a, *bees, c\}`
fails to parse. (was: Follow up from GROOVY-11060:
`[a, *bees, c] as Type[]` is supported for dynamic and static groovy. However,
`new Type[]\{a, *bees, c\}` fails to parse.)
> Add support for spread elements in array initializer
> ----------------------------------------------------
>
> Key: GROOVY-11067
> URL: https://issues.apache.org/jira/browse/GROOVY-11067
> Project: Groovy
> Issue Type: Improvement
> Components: parser-antlr4
> Reporter: Eric Milles
> Priority: Minor
>
> Follow up from GROOVY-11060: `[a, *bees, c] as Type[]` is supported for
> dynamic and static groovy. However, `new Type[]\{a, *bees, c\}` fails to
> parse.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)