Skip to content

Commit 331c315

Browse files
committed
[WIP] temporarily disable substAddressableParams
1 parent 8e8b0dc commit 331c315

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/SIL/IR/SILTypeSubstitution.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,12 @@ class SILTypeSubstituter :
250250
if (!IFS.shouldSubstituteOpaqueArchetypes())
251251
extInfo = extInfo.intoBuilder().withIsPseudogeneric(false).build();
252252

253+
/* !!! Might decide not to do this !!!
253254
if (origType->hasLifetimeDependencies()) {
254255
extInfo = substAddressableParams(origType, substParams,
255256
extInfo.intoBuilder()).build();
256257
}
258+
*/
257259

258260
auto genericSig = IFS.shouldSubstituteOpaqueArchetypes()
259261
? origType->getInvocationGenericSignature()

0 commit comments

Comments
 (0)