Commit 1991826
committed
[Protocol checker] Eliminate ordering dependency with "unsatisfied" check.
When checking whether an @objc protocol requirement is considered
satisfied by another requirement with the same selector, make sure
to use "getWitness" (rather than "hasWitness") to avoid order
dependencies in the computation. These are fantastically hard
to reproduce in small test cases.1 parent e201c73 commit 1991826
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1566 | 1566 | | |
1567 | 1567 | | |
1568 | 1568 | | |
1569 | | - | |
| 1569 | + | |
1570 | 1570 | | |
1571 | 1571 | | |
1572 | 1572 | | |
| |||
0 commit comments