Skip to content

Commit 59bb1fc

Browse files
committed
[Concurrency] Pass "async" into SILFunctionTypes.
This reverts commit 3a48396110d2639d7b90970bc0369a559adbc0c1.
1 parent 607772a commit 59bb1fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/SIL/IR/SILFunctionType.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4198,6 +4198,8 @@ TypeConverter::getLoweredFormalTypes(SILDeclRef constant,
41984198
// Build the uncurried function type.
41994199
if (innerExtInfo.isThrowing())
42004200
extInfo = extInfo.withThrows(true);
4201+
if (innerExtInfo.isAsync())
4202+
extInfo = extInfo.withAsync(true);
42014203

42024204
bridgedParams.push_back(selfParam);
42034205

0 commit comments

Comments
 (0)