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
Reading through the YUL parser partial constant propagation implementation we can observe that constants are collected upon declarations. This seems incorrect or of little use since the declared identifier can later be assigned a different value (declaration does not imply a single static assignment).
Reading through the YUL parser partial constant propagation implementation we can observe that constants are collected upon declarations. This seems incorrect or of little use since the declared identifier can later be assigned a different value (declaration does not imply a single static assignment).
With some debugging we can observe that:
This Solidity
compiles to tihs YUL
which indeed leads to a constant being produced for identifier
_1
. Which is not correct as_1
changes it's value dynamically.I vote for removing the related code because:
The text was updated successfully, but these errors were encountered: