refactor and clean up

This commit is contained in:
Folkert 2020-04-03 01:12:17 +02:00
parent 604dbf7215
commit 1981a7e467
7 changed files with 355 additions and 241 deletions

View file

@ -217,6 +217,8 @@ fn solve(
}
Failure(vars, actual_type, expected_type) => {
introduce(subs, rank, pools, &vars);
let problem = TypeError::BadExpr(
*region,
Category::Lookup(*symbol),