Commit f81e4c9
committed
AST: Fix Requirement::compare() for self-comparison
std::sort() will sometimes compare an element with itself (?)
so remove the assert here. Duplicate conformance requirements
should be already caught by checkGenericSignature() anyway.1 parent 399e90e commit f81e4c9
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
| 1486 | + | |
1491 | 1487 | | |
1492 | 1488 | | |
1493 | 1489 | | |
| |||
0 commit comments