fix bad test examples using unbound type alias variables

This commit is contained in:
Folkert 2021-05-05 19:54:10 +02:00
parent 1ac66a8fee
commit 48f392f372
9 changed files with 162 additions and 41 deletions

View file

@ -61,7 +61,7 @@ where
let num_deps = dep_idents.len();
for (name, alias) in aliases.into_iter() {
scope.add_alias(name, alias.region, alias.vars, alias.typ);
scope.add_alias(name, alias.region, alias.type_variables, alias.typ);
}
// Desugar operators (convert them to Apply calls, taking into account