[Bug][Compiler-v2] STLOC_UNSAFE_TO_DESTROY_ERROR #13952
Labels
bug
Something isn't working
compiler-v2-stable
compiler-v2
move-smith
stale-exempt
Prevents issues from being automatically marked and closed as stale
🐛 Bug
Compiling the following code with V2:
will raise:
It can be compiled successfully with V1.
Additional context
If we add
inline
forfunction5
, it will compile fine:However, if we add a caller like:
It will give the same error.
If the use of
var21
is removed, i.e.:Compiling it will only raise a known issue:
The text was updated successfully, but these errors were encountered: