mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
handle Unboxed
This commit is contained in:
parent
3e36bea700
commit
0a1cf805f9
1 changed files with 1 additions and 4 deletions
|
@ -936,10 +936,7 @@ fn path_to_expr_help<'a>(
|
|||
layout: Layout<'a>,
|
||||
) -> (Expr<'a>, Layout<'a>) {
|
||||
match path {
|
||||
Path::Unbox(ref unboxed) => match **unboxed {
|
||||
_ => (Expr::Load(symbol), layout),
|
||||
},
|
||||
|
||||
Path::Unbox(unboxed) => path_to_expr_help(env, symbol, unboxed, layout),
|
||||
Path::Empty => (Expr::Load(symbol), layout),
|
||||
|
||||
Path::Index {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue