mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Lift getCanonicalTypeInContext up to GenericSignature
This commit is contained in:
@@ -530,7 +530,7 @@ class AbstractionPattern {
|
||||
OrigType = origType;
|
||||
GenericSig = CanGenericSignature();
|
||||
if (OrigType->hasTypeParameter()) {
|
||||
assert(OrigType == signature->getCanonicalTypeInContext(origType));
|
||||
assert(OrigType == signature.getCanonicalTypeInContext(origType));
|
||||
GenericSig = signature;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user