mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
assert(false) -> zig_unreachable()
This commit is contained in:
parent
e579011a6e
commit
86a0ae8699
@ -537,7 +537,7 @@ static void gen_block(CodeGen *g, AstNode *block_node) {
|
||||
case NodeTypeFnCall:
|
||||
case NodeTypeExternBlock:
|
||||
case NodeTypeDirective:
|
||||
assert(false);
|
||||
zig_unreachable();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user