mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
shrink stack size usage for parse Expr
This commit is contained in:
parent
1871697b0f
commit
03fab9297c
3 changed files with 9 additions and 4 deletions
|
@ -2075,7 +2075,7 @@ fn record_literal_help<'a>(min_indent: u16) -> impl Parser<'a, Expr<'a>, EExpr<'
|
|||
Some(update) => Expr::RecordUpdate {
|
||||
update: &*arena.alloc(update),
|
||||
fields: loc_assigned_fields_with_comments.value.0.into_bump_slice(),
|
||||
final_comments: loc_assigned_fields_with_comments.value.1,
|
||||
final_comments: arena.alloc(loc_assigned_fields_with_comments.value.1),
|
||||
},
|
||||
None => Expr::Record {
|
||||
fields: loc_assigned_fields_with_comments.value.0.into_bump_slice(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue