Skip to content

Commit d881686

Browse files
committed
format
1 parent 79b2e66 commit d881686

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Compiler/Checking/Expressions/CheckArrayOrListComputedExpressions.fs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,11 @@ let TcArrayOrListComputedExpression (cenv: TcFileState) env (overallTy: OverallT
179179
| SynExpr.IndexRange _ -> cont true hasYield
180180
| SynExpr.YieldOrReturnFrom _ -> cont hasRange true
181181
| SynExpr.Sequential(_, _, e1, e2, _, _) ->
182-
hasRangeAndYield e1 hasRange hasYield (fun r1 y1 ->
183-
hasRangeAndYield e2 r1 y1 cont)
182+
hasRangeAndYield e1 hasRange hasYield (fun r1 y1 -> hasRangeAndYield e2 r1 y1 cont)
184183
| _ -> cont hasRange hasYield
185-
184+
186185
hasRangeAndYield comp false false (fun r y -> r && y)
187-
186+
188187
// Transform mixed expressions with explicit yields to ensure all elements are properly yielded
189188
let comp =
190189
if

0 commit comments

Comments
 (0)