Skip to content

Commit 5791736

Browse files
committed
AST: Fix bad merge
1 parent 043f501 commit 5791736

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/AST/GenericSignature.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,21 +1019,6 @@ GenericSignatureImpl::lookupNestedType(Type type, Identifier name) const {
10191019
}
10201020
}
10211021

1022-
TypeDecl *
1023-
GenericSignatureImpl::lookupNestedType(Type type, Identifier name) const {
1024-
assert(type->isTypeParameter());
1025-
1026-
auto *builder = getGenericSignatureBuilder();
1027-
auto equivClass =
1028-
builder->resolveEquivalenceClass(
1029-
type,
1030-
ArchetypeResolutionKind::CompleteWellFormed);
1031-
if (!equivClass)
1032-
return nullptr;
1033-
1034-
return equivClass->lookupNestedType(*builder, name);
1035-
}
1036-
10371022
unsigned GenericParamKey::findIndexIn(
10381023
TypeArrayView<GenericTypeParamType> genericParams) const {
10391024
// For depth 0, we have random access. We perform the extra checking so that

0 commit comments

Comments
 (0)