-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels are incorrectly highlighten when there is no semi #409
Comments
Yeah, actually both are incorrect -I don't handle labels at all! I've had this in the back of my mind to fix but to be frank it's a bit of a pain to do. |
gandm
pushed a commit
that referenced
this issue
Sep 3, 2017
Issue #409 Fails on labels followed by braces a: { statements... } as this may be a flow object def.
@ooflorent If you get a chance can you try the latest master in this repo. // It should work for labels
label: for() {}
label: while {}
label: do {}
label:
{
statements
}
// BUT NOT
label: { // ambiguous as this could be a flow def of an object
statements
} |
This change is in 2.74.0 |
It works like a charm! Thanks |
Just saw an issue with break|continue labelname that is fixed in 2.74.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the above example,
x
is the second function should also be colored in green.The text was updated successfully, but these errors were encountered: