mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fix uniqueness bug
builtin defs were included twice, which threw off uniqueness inference
This commit is contained in:
parent
78d1a01742
commit
2df86b6438
3 changed files with 4 additions and 6 deletions
|
@ -67,6 +67,7 @@ pub fn constrain_decls(
|
|||
|
||||
// perform usage analysis on the whole file
|
||||
let mut var_usage = VarUsage::default();
|
||||
|
||||
for decl in decls.iter().rev() {
|
||||
// NOTE: rigids are empty because they are not shared between top-level definitions
|
||||
match decl {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue