mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
fix tab position
This commit is contained in:
parent
256e7adaff
commit
c6abb0e129
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ fn fast_eat_spaces(state: &State) -> FastSpaceState {
|
|||
line_start = base_offset + index;
|
||||
}
|
||||
b'\t' => {
|
||||
return HasTab(Position::new(index as u32));
|
||||
return HasTab(Position::new((base_offset + index) as u32));
|
||||
}
|
||||
b'#' => {
|
||||
index += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue