-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
When single line comment is the last line in file the run fails #221
Comments
Can you give more details on the error. I am currently unable to reproduce this on master (currently e38ac20) |
I checked out master yesterday (same commit as yours).
|
@croraf Which version of |
cargo 1.39.0 (1c6ec66d5 2019-09-30) |
Is this still happening on the latest master? |
Yes. It is still happening with the same error. f134a07 |
@croraf would you like to look into it? |
Does not fail for me.
rustc 1.40.0 (73528e339 2019-12-16) |
@croraf did you run cargo clean? |
@jasonwilliams I ran cargo clean now and fails with the same error. The stacktrace looks like the one already posted.
|
OK, I checked the code and the bug is when lexing the "line comment" branch, which is the only thing calling the The Proposed solution in #228 Inspecting further it seems |
For example this fails
While these work:
OS: Ubuntu 19.10, uname 5.3.0-26-generic
The text was updated successfully, but these errors were encountered: