[Bug][move-compiler-v2] Wildcard patterns can be dropped #12475
Labels
bug
Something isn't working
compiler-v2
stale-exempt
Prevents issues from being automatically marked and closed as stale
🐛 Bug
The following example (
moved_var_not_simplified3.move
) generates no errors in V2, as it treats the wildcard (_
) assignment as a noop in stackless-bytecode generation:In V1, it yields the following error:
If instead of a wildcard (
_
) we have a variable (_z
) (test casemoved_var_not_simplified2.move
) then V2 produces a similar error.The text was updated successfully, but these errors were encountered: