mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
RequirementMachine: Record loops from trivially-resolved critical pairs
This commit is contained in:
@@ -618,8 +618,13 @@ RewriteSystem::computeConfluentCompletion(unsigned maxIterations,
|
||||
again = true;
|
||||
}
|
||||
|
||||
for (const auto &loop : resolvedLoops) {
|
||||
recordHomotopyGenerator(loop);
|
||||
}
|
||||
|
||||
resolvedCriticalPairs.clear();
|
||||
resolvedPaths.clear();
|
||||
resolvedLoops.clear();
|
||||
|
||||
// If the added rules merged any associated types, process the merges now
|
||||
// before we continue with the completion procedure. This is important
|
||||
|
||||
Reference in New Issue
Block a user