parse async fn definitions

See #727
This commit is contained in:
Andrew Kelley
2018-02-20 00:31:52 -05:00
parent 3d58d7232a
commit a06f3c74fd
7 changed files with 53 additions and 13 deletions

View File

@@ -381,6 +381,8 @@ static LLVMCallConv get_llvm_cc(CodeGen *g, CallingConvention cc) {
} else {
return LLVMCCallConv;
}
case CallingConventionAsync:
return LLVMFastCallConv;
}
zig_unreachable();
}