mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
add new Expr variants
This commit is contained in:
parent
3510bad1d5
commit
b3b3b8790c
7 changed files with 80 additions and 0 deletions
|
@ -1126,6 +1126,8 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
|
|||
..
|
||||
} => build_tag(env, scope, union_layout, *tag_id, arguments, None, parent),
|
||||
|
||||
ExprBox { .. } | ExprUnbox { .. } => todo!(),
|
||||
|
||||
Reset { symbol, .. } => {
|
||||
let (tag_ptr, layout) = load_symbol_and_layout(scope, symbol);
|
||||
let tag_ptr = tag_ptr.into_pointer_value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue