mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 21:26:43 +00:00
1 parent
d12583fc08
commit
7eabd0a64a
1 file changed
+1
-1
@@ -276,7 +276,7 @@ static auto InSameMatchFirst(Nonnull<const Witness*> a,
|
||||
Nonnull<const Witness*> b) -> bool {
|
||||
const auto* impl_a = dyn_cast<ImplWitness>(a);
|
||||
const auto* impl_b = dyn_cast<ImplWitness>(b);
|
||||
if (!impl_b || !impl_b) {
|
||||
if (!impl_a || !impl_b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user