Revert "WIP emit runtime error functions on specialization failure"

This reverts commit 090a7063d5.
This commit is contained in:
Folkert 2021-03-25 16:57:01 +01:00
parent 090a7063d5
commit 89f5e0465e
3 changed files with 33 additions and 111 deletions

View file

@ -3773,7 +3773,12 @@ fn make_specializations<'a>(
// TODO: for now this final specialization pass is sequential,
// with no parallelization at all. We should try to parallelize
// this, but doing so will require a redesign of Procs.
procs = roc_mono::ir::specialize_all(&mut mono_env, procs, &mut layout_cache);
procs = roc_mono::ir::specialize_all(
&mut mono_env,
procs,
&mut layout_cache,
// &finished_info.vars_by_symbol,
);
let external_specializations_requested = procs.externals_we_need.clone();
let procedures = procs.get_specialized_procs_without_rc(mono_env.arena);