We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0edbca0 commit 8699c22Copy full SHA for 8699c22
lib/IRGen/GenCall.cpp
@@ -2688,7 +2688,7 @@ void CallEmission::emitToUnmappedMemory(Address result) {
2688
auto call = emitCallSite();
2689
2690
// Async calls need to store the error result that is passed as a parameter.
2691
- if (IGF.isAsync()) {
+ if (CurCallee.getSubstFunctionType()->isAsync()) {
2692
auto &IGM = IGF.IGM;
2693
auto &Builder = IGF.Builder;
2694
auto numAsyncContextParams =
0 commit comments