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
The issue is in early expression parsing because x is found by this code as the local variable. Removing this code makes the example works however it will fail if the legacy ast is used and i'm not sure if there are other edge cases that require it.
smonicas
changed the title
[Bug-Candidate]: False data dependency caused by shadowing afterwords
[Bug]: State variables shadowed by a local variable are incorrectly set to the local variable
Jul 19, 2023
Describe the issue:
A state variable is used before it was shadowed. The dependency goes to the local variable instead of state variable
Code example to reproduce the issue:
Version:
0.9.3
(tested the freshest dev branch 3e39026)
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: