-
Notifications
You must be signed in to change notification settings - Fork 84
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
Complex if() freezes analysis #266
Comments
that's terrible code, as a human i freeze reading it. |
You're saying CFLint freezes in horror when it encounters that piece of code? A linter with feelings. How advanced! ;-) Of course, I agree. And I'd love to see CFLint have a rule for that, ie. "if() condition has more than 5|configurable branches. Simplify it." It just shouldn't freeze or break otherwise. |
It's on the ANTLR parsing. |
1.0.1 behaves the same, and so does 1.0.0. Both freeze. |
@mpaluchowski , Thanks for checking. That helps - so it's not the semi-colon handling. I'll try upgrading to antlr 4.7 before doing too much grammar debugging. |
This is fixed in cfparser 2.4.6 (coming to maven soon) |
Trying to analyze the following, rather complex,
if()
statement will freeze analysis. No error or anything, just hanging there until manually killed.The text was updated successfully, but these errors were encountered: