[Bug][move-compiler-v2] MOVELOC_UNAVAILABLE_ERROR related bugs raised by V2 #13687
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
To reproduce
Try to compile the following code with
MVC_EXP=ast-simplify=off aptos move compile --compiler-version v2 --language-version 2
orMVC_EXP=optimize=off aptos move compile --compiler-version v2 --language-version 2
.Code snippet to reproduce
Stack trace/error message
Expected Behavior
It should compile as it does with
aptos move compile
andaptos move compile --compiler-version v2 --language-version 2
.Additional context
If the last use of
var45
is changed to some number literal, it will compile fine: e.g.The text was updated successfully, but these errors were encountered: