mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
add Expect ir::Stmt node
This commit is contained in:
parent
70df1ff9c7
commit
b29c7d6fb2
10 changed files with 239 additions and 17 deletions
|
@ -439,6 +439,7 @@ fn stmt_spec<'a>(
|
|||
|
||||
builder.add_choice(block, &cases)
|
||||
}
|
||||
Expect { remainder, .. } => stmt_spec(builder, env, block, layout, remainder),
|
||||
Ret(symbol) => Ok(env.symbols[symbol]),
|
||||
Refcounting(modify_rc, continuation) => match modify_rc {
|
||||
ModifyRc::Inc(symbol, _) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue