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
//# publishmodule 0xCAFE::Module0 {
structS {
x: bool,
}
publicfunf(): S {
let s = S { x: false, };
*&mut {s.x} = true;
s
}
}
V1 compiles fine. V2 gives:
bug: bytecode verification failed with unexpected status code `STLOC_TYPE_MISMATCH_ERROR`. This is a compiler bug, consider reporting it.
┌─ ~/debug_package/sources/MoveSmith.move:8:16
│
8 │ *&mut {s.x} = true;
│
The text was updated successfully, but these errors were encountered:
🐛 Bug
V1 compiles fine. V2 gives:
The text was updated successfully, but these errors were encountered: