mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
handle Unboxed
This commit is contained in:
parent
848764cb25
commit
4530aa8c07
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