mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Make sure to update path of matched list
This commit is contained in:
parent
ae71c7efe2
commit
45f7cd5ad7
2 changed files with 8 additions and 7 deletions
|
@ -1454,6 +1454,7 @@ fn path_to_expr_help<'a>(
|
|||
stores.push((load_sym, *elem_layout, load_expr));
|
||||
|
||||
layout = *elem_layout;
|
||||
symbol = load_sym;
|
||||
}
|
||||
_ => internal_error!("not a list"),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue