Skip to content

Commit 723d56c

Browse files
committed
Missed removing obsolete code.
1 parent 939de4f commit 723d56c

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
@@ -892,7 +892,7 @@ swift::matchWitness(TypeChecker &tc,
892892

893893
auto reqSubMap = reqEnvironment.getRequirementToSyntheticMap();
894894
Type selfTy = proto->getSelfInterfaceType().subst(reqSubMap);
895-
if (type->isEqual(selfTy) /*type->isEqual(conformance->getType())*/) {
895+
if (type->isEqual(selfTy)) {
896896
type = conformance->getType();
897897
if (auto agt = type->getAs<AnyGenericType>())
898898
type = agt->getDecl()->getDeclaredInterfaceType();

0 commit comments

Comments
 (0)