Skip to content

Fails to accept trailing comma in transitions!(…) #9

@regexident

Description

@regexident

Works:

transitions!(Traffic, [
    (Foo, Switch) => Bar,
    (Bar, Switch) => Foo // <- no trailing comma
]);

Doesn't:

transitions!(Traffic, [
    (Foo, Switch) => Bar,
    (Bar, Switch) => Foo, // <- trailing comma
]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions