mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Refine recursive property checks on type alias types
This commit is contained in:
@@ -622,7 +622,7 @@ static void checkNestedTypeConstraints(ConstraintSystem &cs, Type type,
|
||||
|
||||
Type ConstraintSystem::openUnboundGenericType(
|
||||
Type type, ConstraintLocatorBuilder locator) {
|
||||
assert(!type->hasTypeParameter());
|
||||
assert(!type->getCanonicalType()->hasTypeParameter());
|
||||
|
||||
checkNestedTypeConstraints(*this, type, locator);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user