Skip to content

Commit ea980d6

Browse files
committed
RequirementMachine: Dump rewrite system when minimal conformances detects an invariant violation
1 parent 0da9745 commit ea980d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/AST/RequirementMachine/MinimalConformances.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ MinimalConformances::decomposeTermIntoConformanceRuleLeftHandSides(
263263
bool simplified = System.simplify(term, &steps);
264264
if (!simplified) {
265265
llvm::errs() << "Term does not conform to protocol: " << term << "\n";
266+
System.dump(llvm::errs());
266267
abort();
267268
}
268269

0 commit comments

Comments
 (0)