fix async fns with inferred error sets

closes #856
This commit is contained in:
Andrew Kelley
2018-03-24 18:21:51 -04:00
parent b1c07c0ea9
commit 18af2f9a27
7 changed files with 89 additions and 14 deletions

View File

@@ -4245,6 +4245,7 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdErrorUnion:
case IrInstructionIdPromiseResultType:
case IrInstructionIdAwaitBookkeeping:
case IrInstructionIdAddImplicitReturnType:
zig_unreachable();
case IrInstructionIdReturn: