@@ -4378,6 +4378,7 @@ case TypeKind::Id:
43784378 return SILFunctionType::get (
43794379 fnTy->getInvocationGenericSignature (),
43804380 fnTy->getExtInfo (),
4381+ fnTy->isAsync (),
43814382 fnTy->getCoroutineKind (),
43824383 fnTy->getCalleeConvention (),
43834384 transInterfaceParams,
@@ -5371,7 +5372,7 @@ SILFunctionType::withInvocationSubstitutions(SubstitutionMap subs) const {
53715372 assert (!subs || CanGenericSignature (subs.getGenericSignature ())
53725373 == getInvocationGenericSignature ());
53735374 return SILFunctionType::get (getInvocationGenericSignature (),
5374- getExtInfo (), getCoroutineKind (),
5375+ getExtInfo (), isAsync (), getCoroutineKind (),
53755376 getCalleeConvention (),
53765377 getParameters (), getYields (), getResults (),
53775378 getOptionalErrorResult (),
@@ -5389,7 +5390,7 @@ SILFunctionType::withPatternSubstitutions(SubstitutionMap subs) const {
53895390 assert (!subs || CanGenericSignature (subs.getGenericSignature ())
53905391 == getPatternGenericSignature ());
53915392 return SILFunctionType::get (getInvocationGenericSignature (),
5392- getExtInfo (), getCoroutineKind (),
5393+ getExtInfo (), isAsync (), getCoroutineKind (),
53935394 getCalleeConvention (),
53945395 getParameters (), getYields (), getResults (),
53955396 getOptionalErrorResult (),
@@ -5408,7 +5409,7 @@ SILFunctionType::withPatternSpecialization(CanGenericSignature sig,
54085409 assert (!subs || CanGenericSignature (subs.getGenericSignature ())
54095410 == getSubstGenericSignature ());
54105411 return SILFunctionType::get (sig,
5411- getExtInfo (), getCoroutineKind (),
5412+ getExtInfo (), isAsync (), getCoroutineKind (),
54125413 getCalleeConvention (),
54135414 getParameters (), getYields (), getResults (),
54145415 getOptionalErrorResult (),
0 commit comments