Skip to content

Commit 8d1e29e

Browse files
authored
Merge pull request #10367 from dotnet/merges/main-to-feature/ext
Merge main to feature/ext
2 parents fc1f2bd + bd4f2d5 commit 8d1e29e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fsharp/pars.fsy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3361,10 +3361,10 @@ declExpr:
33613361
//reportParseErrorAt (match hwlb with (BindingSetPreAttrs(m, _, _, _, _)) -> m) (FSComp.SR.parsErrorInReturnForLetIncorrectIndentation())
33623362
mkLocalBindings (unionRanges m (rhs parseState 3), hwlb, arbExpr("declExpr3", (rhs parseState 3))) }
33633363

3364-
| hardwhiteDoBinding %prec expr_let
3364+
| hardwhiteDoBinding %prec expr_let
33653365
{ let e = snd $1
3366-
SynExpr.Do (e, e.Range) }
3367-
3366+
SynExpr.Do (e, unionRanges (rhs parseState 1).StartRange e.Range) }
3367+
33683368
| anonMatchingExpr %prec expr_function
33693369
{ $1 }
33703370

0 commit comments

Comments
 (0)