Skip to content

Commit fc2918c

Browse files
committed
ConformanceChecker: Remove a check that is already covered by a prior call to 'isProtocolRequirement()'
1 parent d5f2af2 commit fc2918c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/TypeCheckProtocol.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5080,10 +5080,6 @@ void ConformanceChecker::resolveValueWitnesses() {
50805080
continue;
50815081
}
50825082

5083-
// If this is an accessor for a storage decl, ignore it.
5084-
if (isa<AccessorDecl>(requirement))
5085-
continue;
5086-
50875083
// If this requirement is part of a pair of imported async requirements,
50885084
// where one has already been witnessed, we can skip it.
50895085
//

0 commit comments

Comments
 (0)