Report unbound type variables in aliases, opaques

Closes #2726
This commit is contained in:
ayazhafiz 2022-03-14 17:42:45 -05:00
parent 17029cff7e
commit 3da34fc843
8 changed files with 246 additions and 50 deletions

View file

@ -43,6 +43,11 @@ pub enum Problem {
variable_region: Region,
variable_name: Lowercase,
},
UnboundTypeVariable {
typ: Symbol,
num_unbound: usize,
one_occurence: Region,
},
DuplicateRecordFieldValue {
field_name: Lowercase,
record_region: Region,