pass through correct path and type for ingested file

This commit is contained in:
Brendan Hansknecht 2023-03-23 11:39:19 -07:00
parent 0c366949cb
commit 56ed985cc9
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
7 changed files with 25 additions and 19 deletions

View file

@ -138,7 +138,7 @@ pub fn desugar_expr<'a>(arena: &'a Bump, loc_expr: &'a Loc<Expr<'a>>) -> &'a Loc
| PrecedenceConflict { .. }
| Tag(_)
| OpaqueRef(_)
| IngestedFile(_)
| IngestedFile(_, _)
| Crash => loc_expr,
TupleAccess(sub_expr, paths) => {