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
This happens inside functions as well, but only a file-scope comptime block is necessary to repro.
comptime {
varval=blk: {
if (false) { // if (true) also assertsbreak :blkfalse;
}
break :blktrue;
};
}
when analyzing <source>:2:20 in compiler source at /deps/zig/src/stage1/ir.cpp:13377: assertion failed. This is a bug in the Zig compiler.
Unable to dump stack trace: debug info stripped
ASM generation compiler returned: 255
when analyzing <source>:2:20 in compiler source at /deps/zig/src/stage1/ir.cpp:13377: assertion failed. This is a bug in the Zig compiler.
Unable to dump stack trace: debug info stripped
Execution build compiler returned: 255
The text was updated successfully, but these errors were encountered:
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Dec 11, 2020
This happens inside functions as well, but only a file-scope comptime block is necessary to repro.
Error log from https://godbolt.org/z/61hTG4
Source context:
The text was updated successfully, but these errors were encountered: