This commit is contained in:
Folkert 2020-11-04 23:04:52 +01:00
parent 4c5a5dc6a2
commit cb28e533b8
6 changed files with 234 additions and 50 deletions

View file

@ -2331,7 +2331,6 @@ fn add_def_to_module<'a>(
) {
use roc_can::expr::Expr::*;
use roc_can::pattern::Pattern::*;
use roc_mono::ir::HostExposedVariables;
match def.loc_pattern.value {
Identifier(symbol) => {
@ -2425,7 +2424,6 @@ fn add_def_to_module<'a>(
body,
// This is a 0-arity thunk, so it cannot be recursive
is_self_recursive: false,
host_exposed_variables: HostExposedVariables::default(),
};
procs.partial_procs.insert(symbol, proc);