Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

collection expression lists may be comma terminated #109

Open
ericlippert opened this issue Sep 12, 2017 · 0 comments
Open

collection expression lists may be comma terminated #109

ericlippert opened this issue Sep 12, 2017 · 0 comments

Comments

@ericlippert
Copy link
Contributor

The grammars for the various collection initialization expressions should indicate that if there are elements in the list, then a trailing comma is permitted. That is

Map{"a"=>"A",}
Vector{"a",}
Pair{1, 2,}

are all legal. The grammars in the specification imply that trailing commas are not permitted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant