@@ -501,7 +501,7 @@ void RewriteSystem::minimizeRewriteSystem(const PropertyMap &map) {
501501 performHomotopyReduction ([&](unsigned loopID, unsigned ruleID) -> bool {
502502 const auto &rule = getRule (ruleID);
503503
504- if (rule.containsUnresolvedSymbols ())
504+ if (rule.containsNameSymbols ())
505505 return true ;
506506
507507 return false ;
@@ -613,7 +613,7 @@ GenericSignatureErrors RewriteSystem::getErrors() const {
613613
614614 if (!rule.isRedundant () &&
615615 !rule.isProtocolTypeAliasRule () &&
616- rule.containsUnresolvedSymbols ())
616+ rule.containsNameSymbols ())
617617 result |= GenericSignatureErrorFlags::HasInvalidRequirements;
618618
619619 if (rule.isRecursive ())
@@ -626,7 +626,7 @@ GenericSignatureErrors RewriteSystem::getErrors() const {
626626
627627 if (property->hasSubstitutions ()) {
628628 for (auto t : property->getSubstitutions ()) {
629- if (t.containsUnresolvedSymbols ())
629+ if (t.containsNameSymbols ())
630630 result |= GenericSignatureErrorFlags::HasInvalidRequirements;
631631 }
632632 }
@@ -663,7 +663,7 @@ RewriteSystem::getMinimizedProtocolRules() const {
663663
664664 if (rule.isProtocolTypeAliasRule ())
665665 rules[proto].TypeAliases .push_back (ruleID);
666- else if (!rule.containsUnresolvedSymbols ())
666+ else if (!rule.containsNameSymbols ())
667667 rules[proto].Requirements .push_back (ruleID);
668668 }
669669
@@ -687,7 +687,7 @@ RewriteSystem::getMinimizedGenericSignatureRules() const {
687687 if (rule.isPermanent () ||
688688 rule.isRedundant () ||
689689 rule.isConflicting () ||
690- rule.containsUnresolvedSymbols ()) {
690+ rule.containsNameSymbols ()) {
691691 continue ;
692692 }
693693
@@ -793,7 +793,7 @@ void RewriteSystem::verifyMinimizedRules(
793793 rule.isAnyConformanceRule () &&
794794 !rule.isRHSSimplified () &&
795795 !rule.isSubstitutionSimplified () &&
796- !rule.containsUnresolvedSymbols () &&
796+ !rule.containsNameSymbols () &&
797797 !redundantConformances.count (ruleID)) {
798798 llvm::errs () << " Minimal conformance is redundant: " << rule << " \n\n " ;
799799 dump (llvm::errs ());
0 commit comments