Skip to content
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 parser seems to be recursing forever' at invalid if/else brackets configuration. #158

Open
TpouHuK opened this issue Apr 14, 2023 · 1 comment
Labels
ILE (Internal Linter Error) A panic from the linter

Comments

@TpouHuK
Copy link

TpouHuK commented Apr 14, 2023

Code

if { else } } 

Meta

rslint -V:

if building from source:
rustc --version --verbose:

rustc 1.70.0-nightly (8be3c2bda 2023-03-24)
binary: rustc
commit-hash: 8be3c2bda6b683f87b24714ba595e8b04faef54c
commit-date: 2023-03-24
host: x86_64-unknown-linux-gnu
release: 1.70.0-nightly
LLVM version: 15.0.7

Error Output

thread 'main' panicked at 'The parser seems to be recursing forever', ../.cargo/registry/src/index.crates.io-6f17d22bba15001f/rslint_parser-0.3.1/src/parser.rs:124:9

Seems like parser crashes and this is not the intended behavior. rslint 0.3.1 from crates.io

@TpouHuK TpouHuK added the ILE (Internal Linter Error) A panic from the linter label Apr 14, 2023
@2gn
Copy link

2gn commented May 19, 2023

I have the same error. By the way, has the development stopped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ILE (Internal Linter Error) A panic from the linter
Projects
None yet
Development

No branches or pull requests

2 participants