diff --git a/lib/SIL/SILFunctionType.cpp b/lib/SIL/SILFunctionType.cpp index 64254fb3c5d79..5d1483017099e 100644 --- a/lib/SIL/SILFunctionType.cpp +++ b/lib/SIL/SILFunctionType.cpp @@ -2713,7 +2713,7 @@ TypeConverter::getLoweredFormalTypes(SILDeclRef constant, // Build the curried function type. auto inner = CanFunctionType::get(llvm::makeArrayRef(bridgedParams), - bridgedResultType); + bridgedResultType, innerExtInfo); auto curried = CanAnyFunctionType::get(genericSig, {selfParam}, inner, extInfo);