We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7fc73 commit c0c109dCopy full SHA for c0c109d
lib/AST/RequirementMachine/RewriteSystem.cpp
@@ -591,10 +591,7 @@ void RewriteSystem::verifyRewriteRules(ValidityPolicy policy) const {
591
ASSERT_RULE(symbol.getKind() != Symbol::Kind::GenericParam);
592
}
593
594
- // Completion can produce rules like [P:T].[Q:R] => [P:T].[Q]
595
- // which are immediately simplified away.
596
- if (!rule.isRHSSimplified() &&
597
- index != 0) {
+ if (index != 0) {
598
ASSERT_RULE(symbol.getKind() != Symbol::Kind::Protocol);
599
600
0 commit comments