From df4f77024e93dc3b60dd1d76d64e3c5ffa5ebd84 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 14 May 2019 18:06:02 -0400 Subject: else value when switching on error set has optional capture value which is subset. see #769 --- 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 926c0ebe5c..1d7d543a49 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -5572,6 +5572,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable, case IrInstructionIdTypeName: case IrInstructionIdDeclRef: case IrInstructionIdSwitchVar: + case IrInstructionIdSwitchElseVar: case IrInstructionIdByteOffsetOf: case IrInstructionIdBitOffsetOf: case IrInstructionIdTypeInfo: -- cgit v1.2.3