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
@gustavolsson yeah it looks like it's probably the same issue. Zig doesn't seem to be detecting that an error union with a slice being assigned to a normal slice without an error union is an error. Since Zig doesn't detect it, the error doesn't get caught until LLVM takes over.
I tried u8 as well in my example and Zig detects the error in that case, so the type matters for some reason.
andrewrk
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Oct 14, 2019
@gustavolsson provided another example that is a bit more reduced:
The text was updated successfully, but these errors were encountered: