[
https://issues.apache.org/jira/browse/JEXL-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739039#comment-17739039
]
Henri Biestro commented on JEXL-398:
------------------------------------
Can be extended to map literals and sets.
> Allow 'trailing commas' while define a map
> ------------------------------------------
>
> Key: JEXL-398
> URL: https://issues.apache.org/jira/browse/JEXL-398
> Project: Commons JEXL
> Issue Type: New Feature
> Affects Versions: 3.3
> Reporter: Xu Pengcheng
> Assignee: Henri Biestro
> Priority: Minor
>
> For example,
>
> {code:java}
> let m = {
> "foo": 1,
> "bar": 2,
> }{code}
> It fails because there is a comma after last entry `"bar": 2`, do we have
> any plan to support it?
> Thanks!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)