Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

fn definitions can contain semicolons #143

@TheEdda

Description

@TheEdda

Current grammar doesn't allow semicolons in function definitions. This leads to the following highlighting errors:

2019-03-10_16-14-44

Since foo ends with the semicolon in the first parameter, the inline param2 impl is treated as a normal impl block and doesn't end until a curly open brace.

When defining Traits which often don't contain function implementations (and therefore don't contain open curly braces) this gets really annoying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions