mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Merge pull request #4303 from roc-lang/i4291
Make sure self-recursive checks only happen after typechecking
This commit is contained in:
commit
4a5c8fd7ae
6 changed files with 79 additions and 120 deletions
|
@ -422,7 +422,7 @@ pub fn canonicalize_module_defs<'a>(
|
|||
};
|
||||
|
||||
let (mut declarations, mut output) =
|
||||
crate::def::sort_can_defs_new(&mut env, &mut scope, var_store, defs, new_output);
|
||||
crate::def::sort_can_defs_new(&mut scope, var_store, defs, new_output);
|
||||
|
||||
debug_assert!(
|
||||
output.pending_derives.is_empty(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue