From b66438eb8092ea93b255f0ba11f857b1d6ccb052 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 28 May 2019 18:18:52 -0400 Subject: no "use of undeclared identifer" in dead comptime branches --- src/codegen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index e00ec12615..7d9e03baf4 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -5606,6 +5606,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdBitCast: case IrInstructionIdGlobalAsm: case IrInstructionIdHasDecl: + case IrInstructionIdUndeclaredIdent: zig_unreachable(); case IrInstructionIdDeclVarGen: -- cgit v1.2.3