mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
s/occurence/occurrence/g
This commit is contained in:
parent
8810a48a52
commit
787c8ee3a5
5 changed files with 8 additions and 8 deletions
|
@ -325,7 +325,7 @@ pub fn canonicalize_defs<'a>(
|
|||
} = can_ann.introduced_variables;
|
||||
let num_unbound = var_by_name.len() + wildcards.len() + inferred.len();
|
||||
if num_unbound > 0 {
|
||||
let one_occurence = var_by_name
|
||||
let one_occurrence = var_by_name
|
||||
.iter()
|
||||
.map(|(_, v)| v)
|
||||
.chain(wildcards.iter())
|
||||
|
@ -337,7 +337,7 @@ pub fn canonicalize_defs<'a>(
|
|||
env.problems.push(Problem::UnboundTypeVariable {
|
||||
typ: symbol,
|
||||
num_unbound,
|
||||
one_occurence,
|
||||
one_occurrence,
|
||||
});
|
||||
|
||||
// Bail out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue