Skip to content

Commit c28f0f0

Browse files
committed
Sema: Remove unnecessary check
It looks like this is covered by the witness lookup below. Kind of a useless change, but I'm trying to simplify the LookupResultBuilder as much as I can.
1 parent b316dfc commit c28f0f0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/TypeCheckNameLookup.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ namespace {
146146
return;
147147
}
148148

149-
// If we're validating the protocol recursively, bail out.
150-
if (!foundProto->hasValidSignature())
151-
return;
152-
153149
// Dig out the witness.
154150
ValueDecl *witness = nullptr;
155151
auto concrete = conformance->getConcrete();

0 commit comments

Comments
 (0)