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
Test is a minor variant of #11159, but the root cause is quite different. In this case, AstGen and the AIR expect to be able to refer to the "elem_type" of the initialized array.
Tuples are initialized like arrays but their fields are heterogeneous like structs, so this fails in Sema.
Zig Version
0.10.0-dev.1335+c64279b15
Steps to Reproduce
Expected Behavior
Test should pass.
Test is a minor variant of #11159, but the root cause is quite different. In this case, AstGen and the AIR expect to be able to refer to the "elem_type" of the initialized array.
Tuples are initialized like arrays but their fields are heterogeneous like structs, so this fails in Sema.
Actual Behavior
Test crashes:
The text was updated successfully, but these errors were encountered: