mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-08 04:50:32 +00:00
Fix pnc apply pattern lift spaces
This commit is contained in:
parent
7acf9c5e5d
commit
9f395e033d
5 changed files with 61 additions and 1 deletions
|
@ -722,7 +722,7 @@ pub fn pattern_lift_spaces<'a, 'b: 'a>(
|
|||
|
||||
Spaces {
|
||||
before: func_lifted.before,
|
||||
item: Pattern::PncApply(arena.alloc(func), *args),
|
||||
item: Pattern::PncApply(arena.alloc(Loc::at_zero(func_lifted.item)), *args),
|
||||
after: &[],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue