Skip to content

continue and break keyword related errors invalidly include the next token into span #28108

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

Closed
nagisa opened this issue Aug 30, 2015 · 1 comment

Comments

@nagisa
Copy link
Member

nagisa commented Aug 30, 2015

Once #28105 is fixed, there’s still an issue of both continue and break keyword spans including a token after the keyword into a span.

e.g. for

fn main() { break }

span includes the closing brakcet

<anon>:1 fn main() { break }
                     ^~~~~~~
@marcusklaas
Copy link
Contributor

I've got a fix for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants