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
For certain Sierra instructions (store_temp, store_local, dup), produced and consumed variables re-use the same IDs. For example: store_temp([0]) -> [0].
Re-used ids result in shadowing of variables. For example, in function:
fnfoo(x:felt252) {
letmuty=x;
y+=1;
}
we show only y in Variables.
In general, this results in bugs in aliasing and re-binding.
The shadowing mainly occurs for params, which is fixed by the logic related to FunctionDebugInfo.parameters field. The broader explanation can be found here
Activity
piotmag769 commentedon Jul 24, 2026
The shadowing mainly occurs for params, which is fixed by the logic related to
FunctionDebugInfo.parametersfield. The broader explanation can be found here