ExpressionSimplifier references variables declared in loop body when simplifying the post block #15889
Labels
bug 🐛
low effort
There is not much implementation work to be done. The task is very easy or tiny.
medium impact
Default level of impact
must have
Something we consider an essential part of Solidity 1.0.
optimizer
Description
Hi! I tried to compile the following Solidity code using
solc-latest --optimize --yul-optimizations 'xajs' --bin out.sol
, enabling the custom optimization sequencexajs
. solc threw anInvalid assembly/yul code
exception.Output:
Environment
solc-0.8.25+
The text was updated successfully, but these errors were encountered: