Skip to content

Commit c88165c

Browse files
authored
Merge pull request swiftlang#7701 from DougGregor/extra-potential-archetype-walk
2 parents d1dae72 + 121e1aa commit c88165c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/AST/GenericSignatureBuilder.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -2444,13 +2444,6 @@ GenericSignatureBuilder::finalize(SourceLoc loc,
24442444
}
24452445
});
24462446

2447-
// Create anchors for all of the potential archetypes.
2448-
// FIXME: This is because we might be missing some from the equivalence
2449-
// classes. It is an egregious hack.
2450-
visitPotentialArchetypes([&](PotentialArchetype *archetype) {
2451-
(void)archetype->getArchetypeAnchor(*this);
2452-
});
2453-
24542447
SmallPtrSet<PotentialArchetype *, 4> visited;
24552448

24562449
// Check for generic parameters which have been made concrete or equated

0 commit comments

Comments
 (0)