Skip to content

Commit 1d3e96e

Browse files
authored
Merge pull request #34670 from DougGregor/conformance-unsatisfied-objc
[Protocol checker] Eliminate ordering dependency with "unsatisfied" check
2 parents 17d6843 + 1991826 commit 1d3e96e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckProtocol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ isUnsatisfiedReq(ConformanceChecker &checker,
15661566
if (otherReq == req)
15671567
continue;
15681568

1569-
if (conformance->hasWitness(otherReq))
1569+
if (conformance->getWitness(otherReq))
15701570
return false;
15711571
}
15721572
}

0 commit comments

Comments
 (0)