mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
fix end in expr_start
This commit is contained in:
parent
8e10ed542c
commit
6214f0caa8
1 changed files with 2 additions and 1 deletions
|
@ -579,6 +579,7 @@ fn foobar<'a>(
|
|||
dbg!(&expr);
|
||||
|
||||
let initial = state;
|
||||
let end = state.get_position();
|
||||
|
||||
match dbg!(space0_e(min_indent, EExpr::Space, EExpr::IndentEnd).parse(arena, state)) {
|
||||
Err((_, _, state)) => Ok((MadeProgress, expr.value, state)),
|
||||
|
@ -589,7 +590,7 @@ fn foobar<'a>(
|
|||
expr,
|
||||
spaces_after: spaces_before_op,
|
||||
initial,
|
||||
end: state.get_position(),
|
||||
end,
|
||||
};
|
||||
|
||||
parse_expr_end(min_indent, expr_state, arena, state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue