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
Running this code returns (1,2) so it seems that the compiler is ignoring the first unnamed tuple component. There is an error if the component is named (e.g. (a,c,d)) or on any compiler after 0.5.0. Since this kinda looks like a very old compiler bug, its a rare behavior (seen 3 times over 75K contracts) might not even fix this crash. Just marking it so we don't loose track.
The text was updated successfully, but these errors were encountered:
In 0.4.x apparently its possible to do a tuple assignment where the LHS has one fewer components than the RHS. E.g.
Running this code returns
(1,2)
so it seems that the compiler is ignoring the first unnamed tuple component. There is an error if the component is named (e.g.(a,c,d)
) or on any compiler after0.5.0
. Since this kinda looks like a very old compiler bug, its a rare behavior (seen 3 times over 75K contracts) might not even fix this crash. Just marking it so we don't loose track.The text was updated successfully, but these errors were encountered: