mirror of
https://github.com/odin-lang/Odin.git
synced 2026-03-01 22:28:20 +00:00
Allow for foo() or_else unreachable() and other diverging procedures
This commit is contained in:
@@ -1852,7 +1852,7 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv,
|
||||
}
|
||||
|
||||
case BuiltinProc_unreachable:
|
||||
LLVMBuildUnreachable(p->builder);
|
||||
lb_emit_unreachable(p);
|
||||
return {};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user