mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Tip replacing <- with : for static values
This commit is contained in:
parent
088193c93b
commit
71a2990e21
7 changed files with 51 additions and 3 deletions
|
@ -315,7 +315,7 @@ pub fn desugar_expr<'a>(arena: &'a Bump, loc_expr: &'a Loc<Expr<'a>>) -> &'a Loc
|
|||
let args = std::slice::from_ref(arena.alloc(apply));
|
||||
|
||||
apply = arena.alloc(Loc {
|
||||
value: Apply(desugared_expr, args, *called_via),
|
||||
value: Apply(desugared_expr, args, CalledVia::RecordBuilder),
|
||||
region: loc_expr.region,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue