Skip to content

Commit 27dddb5

Browse files
committed
[SIL] Do not drop inner ExtInfo while rebuilding FunctionTypes
1 parent b463f52 commit 27dddb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/SILFunctionType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2713,7 +2713,7 @@ TypeConverter::getLoweredFormalTypes(SILDeclRef constant,
27132713
// Build the curried function type.
27142714
auto inner =
27152715
CanFunctionType::get(llvm::makeArrayRef(bridgedParams),
2716-
bridgedResultType);
2716+
bridgedResultType, innerExtInfo);
27172717

27182718
auto curried =
27192719
CanAnyFunctionType::get(genericSig, {selfParam}, inner, extInfo);

0 commit comments

Comments
 (0)