mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove GenericSignature parameter from OpenedArchetypeType::get()
This commit is contained in:
@@ -11421,8 +11421,7 @@ ConstraintSystem::simplifyValueWitnessConstraint(
|
||||
// conformance.
|
||||
if (baseObjectType->isExistentialType()) {
|
||||
baseObjectType =
|
||||
OpenedArchetypeType::get(baseObjectType->getCanonicalType(),
|
||||
useDC->getGenericSignatureOfContext());
|
||||
OpenedArchetypeType::get(baseObjectType->getCanonicalType());
|
||||
}
|
||||
|
||||
// Check conformance to the protocol. If it doesn't conform, this constraint
|
||||
|
||||
Reference in New Issue
Block a user