You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/IRGen/async/async_calls_verifier.sil
+13-19Lines changed: 13 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,11 @@ bb0:
36
36
}
37
37
38
38
// CHECK-LABEL: Begin Error in function nonasync_apply_caller
39
-
// CHECK: SIL verification failed: cannot call an async function from a non-async function: !fnType->isAsync() || FRI->getFunction()->isAsync()
39
+
// CHECK: SIL verification failed: cannot call an async function from a nonasync function: !calleeConv.funcTy->isAsync() || AI->getFunction()->isAsync()
// CHECK-LABEL: End Error in function nonasync_apply_caller
45
45
sil [ossa] @nonasync_apply_caller : $@convention(thin) () -> () {
46
46
bb0:
@@ -62,11 +62,11 @@ bb2(%result_error : $Error):
62
62
}
63
63
64
64
// CHECK-LABEL: Begin Error in function nonasync_try_apply_caller
65
-
// CHECK: SIL verification failed: cannot call an async function from a non-async function: !fnType->isAsync() || FRI->getFunction()->isAsync()
65
+
// CHECK: SIL verification failed: cannot call an async function from a nonasync function: !calleeConv.funcTy->isAsync() || AI->getFunction()->isAsync()
// CHECK-LABEL: Begin Error in function nonasync_witness_method_caller
116
-
// CHECK: SIL verification failed: cannot call an async function from a non-async function: !methodType->isAsync() || AMI->getFunction()->isAsync()
110
+
// CHECK: SIL verification failed: cannot call an async function from a nonasync function: !calleeConv.funcTy->isAsync() || AI->getFunction()->isAsync()
// CHECK-LABEL: Begin Error in function nonasync_class_method_caller
144
-
// CHECK: SIL verification failed: cannot call an async function from a non-async function: !methodType->isAsync() || CMI->getFunction()->isAsync()
138
+
// CHECK: SIL verification failed: cannot call an async function from a nonasync function: !calleeConv.funcTy->isAsync() || AI->getFunction()->isAsync()
0 commit comments