Skip to content

Commit 761502f

Browse files
committed
NFC: explain the missingInverses
1 parent 9071d1e commit 761502f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/AST/RequirementMachine/RequirementMachineRequests.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,9 @@ RequirementSignatureRequest::evaluate(Evaluator &evaluator,
451451
}
452452
}
453453

454-
// FIXME: We don't have the inverses from desugaring available here!
454+
// FIXME: We should pass proto->getInverseRequirements() instead of
455+
// an empty vector, but this makes the requirement machine angry.
456+
// For now, we check them in `checkProtocolRefinementRequirements`.
455457
SmallVector<InverseRequirement, 2> missingInverses;
456458

457459
// Diagnose redundant requirements and conflicting requirements.

0 commit comments

Comments
 (0)