This commit is contained in:
Folkert 2021-08-16 20:46:31 +02:00
parent 5171d181ac
commit dca577df82
2 changed files with 0 additions and 11 deletions

View file

@ -6168,16 +6168,6 @@ impl ExceptionId {
} }
} }
fn build_call_new<'a>(
_env: &mut Env<'a, '_>,
call: Call<'a>,
assigned: Symbol,
return_layout: Layout<'a>,
hole: &'a Stmt<'a>,
) -> Stmt<'a> {
Stmt::Let(assigned, Expr::Call(call), return_layout, hole)
}
fn can_throw_exception(call: &Call) -> bool { fn can_throw_exception(call: &Call) -> bool {
match call.call_type { match call.call_type {
CallType::ByName { name, .. } => matches!( CallType::ByName { name, .. } => matches!(

View file

@ -3,7 +3,6 @@
use crate::assert_evals_to; use crate::assert_evals_to;
use crate::assert_llvm_evals_to; use crate::assert_llvm_evals_to;
use crate::assert_non_opt_evals_to; use crate::assert_non_opt_evals_to;
use core::ffi::c_void;
use indoc::indoc; use indoc::indoc;
use roc_std::RocStr; use roc_std::RocStr;