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

fn definitions can contain semicolons #143

Open
TheEdward162 opened this issue Mar 10, 2019 · 0 comments
Open

fn definitions can contain semicolons #143

TheEdward162 opened this issue Mar 10, 2019 · 0 comments

Comments

@TheEdward162
Copy link

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.

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