Remove unused TypedHole variant from roc_can::expr::Expr

This commit is contained in:
JRI98 2024-11-28 15:46:50 +00:00
parent 46067cf28c
commit dcb6c543c0
No known key found for this signature in database
GPG key ID: F83B29916FF13F24
10 changed files with 1 additions and 25 deletions

View file

@ -5897,7 +5897,6 @@ pub fn with_hole<'a>(
Stmt::Ret(return_symbol),
)
}
TypedHole(_) => runtime_error(env, "Hit a blank"),
RuntimeError(e) => runtime_error(env, env.arena.alloc(e.runtime_message())),
Crash { msg, ret_var: _ } => {
let msg_sym = possible_reuse_symbol_or_specialize(