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
Note also that for deep structures like above, proper recursive allocation also ensures non-aliasing.
ontract Test {
struct S { int[2][3] x; }
function test() publicpure {
S memory sm1;
sm1.x[2][1] =1;
S memory sm2;
sm2.x[2][1] =2;
assert(sm1.x[2][1] ==1); // Currently fails
}
}
Currently we get:
The text was updated successfully, but these errors were encountered: