mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
test_can pass
This commit is contained in:
parent
19bd75aa62
commit
f4c1af0f19
4 changed files with 228 additions and 46 deletions
|
@ -130,8 +130,6 @@ pub fn canonicalize_defs<'a>(
|
|||
// This naturally handles recursion too, because a given expr which refers
|
||||
// to itself won't be processed until after its def has been added to scope.
|
||||
|
||||
use roc_parse::ast::Def::*;
|
||||
|
||||
// Record both the original and final idents from the scope,
|
||||
// so we can diff them while detecting unused defs.
|
||||
let mut scope = original_scope.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue