@@ -501,7 +501,7 @@ void RewriteSystem::minimizeRewriteSystem(const PropertyMap &map) {
501
501
performHomotopyReduction ([&](unsigned loopID, unsigned ruleID) -> bool {
502
502
const auto &rule = getRule (ruleID);
503
503
504
- if (rule.containsUnresolvedSymbols ())
504
+ if (rule.containsNameSymbols ())
505
505
return true ;
506
506
507
507
return false ;
@@ -613,7 +613,7 @@ GenericSignatureErrors RewriteSystem::getErrors() const {
613
613
614
614
if (!rule.isRedundant () &&
615
615
!rule.isProtocolTypeAliasRule () &&
616
- rule.containsUnresolvedSymbols ())
616
+ rule.containsNameSymbols ())
617
617
result |= GenericSignatureErrorFlags::HasInvalidRequirements;
618
618
619
619
if (rule.isRecursive ())
@@ -626,7 +626,7 @@ GenericSignatureErrors RewriteSystem::getErrors() const {
626
626
627
627
if (property->hasSubstitutions ()) {
628
628
for (auto t : property->getSubstitutions ()) {
629
- if (t.containsUnresolvedSymbols ())
629
+ if (t.containsNameSymbols ())
630
630
result |= GenericSignatureErrorFlags::HasInvalidRequirements;
631
631
}
632
632
}
@@ -663,7 +663,7 @@ RewriteSystem::getMinimizedProtocolRules() const {
663
663
664
664
if (rule.isProtocolTypeAliasRule ())
665
665
rules[proto].TypeAliases .push_back (ruleID);
666
- else if (!rule.containsUnresolvedSymbols ())
666
+ else if (!rule.containsNameSymbols ())
667
667
rules[proto].Requirements .push_back (ruleID);
668
668
}
669
669
@@ -687,7 +687,7 @@ RewriteSystem::getMinimizedGenericSignatureRules() const {
687
687
if (rule.isPermanent () ||
688
688
rule.isRedundant () ||
689
689
rule.isConflicting () ||
690
- rule.containsUnresolvedSymbols ()) {
690
+ rule.containsNameSymbols ()) {
691
691
continue ;
692
692
}
693
693
@@ -793,7 +793,7 @@ void RewriteSystem::verifyMinimizedRules(
793
793
rule.isAnyConformanceRule () &&
794
794
!rule.isRHSSimplified () &&
795
795
!rule.isSubstitutionSimplified () &&
796
- !rule.containsUnresolvedSymbols () &&
796
+ !rule.containsNameSymbols () &&
797
797
!redundantConformances.count (ruleID)) {
798
798
llvm::errs () << " Minimal conformance is redundant: " << rule << " \n\n " ;
799
799
dump (llvm::errs ());
0 commit comments