未验证 提交 bd4f2d51 编写于 作者: E Eugene Auduchinok 提交者: GitHub

Fix SynExpr.Do range (#10365)

上级 71c37363
......@@ -3361,10 +3361,10 @@ declExpr:
//reportParseErrorAt (match hwlb with (BindingSetPreAttrs(m, _, _, _, _)) -> m) (FSComp.SR.parsErrorInReturnForLetIncorrectIndentation())
mkLocalBindings (unionRanges m (rhs parseState 3), hwlb, arbExpr("declExpr3", (rhs parseState 3))) }
| hardwhiteDoBinding %prec expr_let
| hardwhiteDoBinding %prec expr_let
{ let e = snd $1
SynExpr.Do (e, e.Range) }
SynExpr.Do (e, unionRanges (rhs parseState 1).StartRange e.Range) }
| anonMatchingExpr %prec expr_function
{ $1 }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册