mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Remove unused RuntimeErrorFunction variant from roc_mono::ir::Expr
This commit is contained in:
parent
dcb6c543c0
commit
75f13d3f2e
9 changed files with 4 additions and 27 deletions
|
@ -1453,11 +1453,6 @@ fn expr_spec<'a>(
|
|||
|
||||
erasure_load(builder, block, value, *field, loaded_type)
|
||||
}
|
||||
RuntimeErrorFunction(_) => {
|
||||
let type_id = layout_spec(env, builder, interner, interner.get_repr(layout))?;
|
||||
|
||||
builder.add_terminate(block, type_id)
|
||||
}
|
||||
GetTagId { .. } => {
|
||||
// TODO touch heap cell in recursive cases
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue