mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
pass through correct path and type for ingested file
This commit is contained in:
parent
0c366949cb
commit
56ed985cc9
7 changed files with 25 additions and 19 deletions
|
@ -658,7 +658,7 @@ impl<'a> RemoveSpaces<'a> for Expr<'a> {
|
|||
is_negative,
|
||||
},
|
||||
Expr::Str(a) => Expr::Str(a.remove_spaces(arena)),
|
||||
Expr::IngestedFile(a) => Expr::Str(a.remove_spaces(arena)),
|
||||
Expr::IngestedFile(a, b) => Expr::IngestedFile(a, b),
|
||||
Expr::RecordAccess(a, b) => Expr::RecordAccess(arena.alloc(a.remove_spaces(arena)), b),
|
||||
Expr::AccessorFunction(a) => Expr::AccessorFunction(a),
|
||||
Expr::TupleAccess(a, b) => Expr::TupleAccess(arena.alloc(a.remove_spaces(arena)), b),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue