Skip to content

Commit 4c1fc19

Browse files
committed
Remove now-unnecessary validateDecl() call
1 parent 997fabb commit 4c1fc19

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/CSGen.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,6 @@ namespace {
10761076
// a known subscript here. This might be cleaner if we split off a new
10771077
// UnresolvedSubscriptExpr from SubscriptExpr.
10781078
if (auto decl = declOrNull) {
1079-
CS.getTypeChecker().validateDecl(decl);
10801079
OverloadChoice choice =
10811080
OverloadChoice(baseTy, decl, FunctionRefKind::DoubleApply);
10821081
CS.addBindOverloadConstraint(memberTy, choice, memberLocator,

0 commit comments

Comments
 (0)