mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
move colum state over
This commit is contained in:
parent
1a49930d1d
commit
256e7adaff
2 changed files with 7 additions and 3 deletions
|
@ -197,7 +197,11 @@ where
|
|||
Err((MadeProgress, indent_problem(state.pos()), state))
|
||||
} else {
|
||||
let comments_and_newlines = Vec::with_capacity_in(newlines, arena);
|
||||
let spaces = eat_spaces(state, false, comments_and_newlines);
|
||||
let mut spaces = eat_spaces(state, false, comments_and_newlines);
|
||||
|
||||
if spaces.multiline {
|
||||
spaces.state.indent_column = spaces.state.column();
|
||||
}
|
||||
|
||||
Ok((
|
||||
MadeProgress,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue