Skip to content

Commit e87790e

Browse files
committed
adjust for for loop changes
1 parent f7eb3e4 commit e87790e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/vs/Exprs.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ module FSharpExprConvert =
379379

380380
and ConvExprPrim (cenv:Impl.cenv) (env:ExprTranslationEnv) expr =
381381
// Eliminate integer 'for' loops
382-
let expr = DetectFastIntegerForLoops cenv.g expr
382+
let expr = DetectAndOptimizeForExpression cenv.g OptimizeIntRangesOnly expr
383383

384384
// Eliminate subsumption coercions for functions. This must be done post-typechecking because we need
385385
// complete inference types.

0 commit comments

Comments
 (0)