mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix off by one in roc_dbg
This commit is contained in:
parent
497d7755c8
commit
e8d2deca90
3 changed files with 8 additions and 6 deletions
|
@ -661,7 +661,7 @@ pub fn desugar_expr<'a>(
|
|||
arena.alloc(Loc {
|
||||
value: LowLevelDbg(
|
||||
arena.alloc((
|
||||
&*arena.alloc_str(&format!("{}:{}", module_path, line_col.line)),
|
||||
&*arena.alloc_str(&format!("{}:{}", module_path, line_col.line + 1)),
|
||||
&*arena.alloc_str(dbg_src),
|
||||
)),
|
||||
dbg_str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue