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
./main.zig:4:20: error: use of undefined value here causes undefined behavior
@compileLog(wtf() ++ [0]u8{});
^
./main.zig:4:23: note: referenced here
@compileLog(wtf() ++ [0]u8{});
I assume it's a bug in the result location semantics that will do weird things with zero-sized return types
The text was updated successfully, but these errors were encountered:
alexnask
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Apr 16, 2021
The following code yields a pretty unexpected error:
when using a literal:
it works as expected:
I assume it's a bug in the result location semantics that will do weird things with zero-sized return types
The text was updated successfully, but these errors were encountered: