mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Clean up associated type default representation a bit
This commit is contained in:
@@ -4360,7 +4360,7 @@ public:
|
||||
continue;
|
||||
// FIXME: Also exclude the type alias that has already been specified.
|
||||
if (!Conformance->hasTypeWitness(ATD) ||
|
||||
!ATD->getDefaultDefinitionLoc().isNull())
|
||||
ATD->hasDefaultDefinitionType())
|
||||
continue;
|
||||
addTypeAlias(ATD,
|
||||
DeclVisibilityKind::MemberOfProtocolImplementedByCurrentNominal);
|
||||
|
||||
Reference in New Issue
Block a user