-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
The linter panicked unexpectedly #30
Comments
Thank you for the bug report! Im still not sure why the message is not included for that but yknow, weird rust panic info logic, but thats the parser infinitely recursing, which is usually because of:
I will take a look and update you once i find/fix it 🙂 |
Oh nevermind, the issue is the unicode character which i did not notice, like |
This also brings to light the issue of error tokens in literal properties causing infinite recursion, which is an error recovery problem. Thank you for finding 2 bugs! 😄 |
Lexer issue fixed in d0dbbe9 |
Fixed in 77a7ea6 |
i pulled $ rslint_cli 'src/*.js'
error[]: The linter panicked unexpectedly. this is a bug.
We would appreciate a bug report: https://github.com/RDambrosio016/RSLint/issues/new?labels=ILE%2C+bug&template=internal-linter-error.md
note[]: Please include the following info:
message:
location: /Users/brandly/.cargo/registry/src/github.com-1ecc6299db9ec823/rslint_parser-0.1.2/src/parser.rs:158:9 am i doing something wrong? |
cargo install would be pulling from crates.io, and the fixes are on an unreleased version |
Other than a lot of imports spam it works for me if i use cargo run |
@brandly i published new versions, it should work now if you install again |
thanks!
you're right! this worked on my end too.
i was thinking the |
|
hi! i saw your post on r/rust. i write a lot of typescript, but tried running this on some plain JS.
i ran it on this file and was told everything's good:
i wanted to run it on this project, but i ran into an unexpected panic.
i'm wrapping the glob in quotes because i'm on zsh, and it'll expand the glob otherwise e.g.:
if i'm running this incorrectly, the feedback could be improved. otherwise, something might be broken.
thanks again. i'm looking forward to fast JS tooling.
The text was updated successfully, but these errors were encountered: