You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the case of nested IF expressions, the outer second IF expression fetches the wrong lineNumber, mistakenly taking the lineNumber of the first IF.
Attached is a complete Java Maven project demonstrating the bug (it can only run in a Java 8 environment). Open it using IntelliJ IDEA and run it directly to demonstrate the issue I want to convey.
After running the project, the following information will be printed:
line:[9] ifi0<90goto(branch)line:[11] if $z0!=0gotor9="mute"line:[9] ifi0<80goto(branch)line:[19] ifi0<70gotoreturn
Expected behavior
I expect the expression if (score >= 80) to correctly display lineNumber 17.
Stacktrace
Additional context
Thank you very much
The text was updated successfully, but these errors were encountered:
Describe the bug
In the case of nested IF expressions, the outer second IF expression fetches the wrong lineNumber, mistakenly taking the lineNumber of the first IF.
Input file
sootbug.zip
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the expression if (score >= 80) to correctly display lineNumber 17.
Stacktrace
Additional context
Thank you very much
The text was updated successfully, but these errors were encountered: