Skip to content

allowing trailing comma in with expressions / functional record update #2463

Closed
@nikomatsakis

Description

@nikomatsakis

You should be able to write this:

let x = {
    f: 1,
    g: 1,
    with y};

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions