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

collection expression lists may be comma terminated #109

Description

@ericlippert

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions