Skip to content

Commit 5ff6fe2

Browse files
Remove incorrect comment
1 parent d7dece9 commit 5ff6fe2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/CSGen.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,10 +1152,6 @@ namespace {
11521152
// `_ = nil`, let's diagnose it here because solver can't
11531153
// attempt any types for it.
11541154
auto *parentExpr = CS.getParentExpr(expr);
1155-
1156-
// Loop until you have an expr without parentheses
1157-
// so if you have (nil), ((nil)), (((nil))), etc...
1158-
// you get `nil`
11591155
while (parentExpr && isa<ParenExpr>(parentExpr))
11601156
parentExpr = CS.getParentExpr(parentExpr);
11611157

0 commit comments

Comments
 (0)