fix most type inference issues

This commit is contained in:
Folkert 2020-10-16 20:50:42 +02:00
parent 9b83c3ad58
commit d931c8994a
10 changed files with 273 additions and 49 deletions

View file

@ -202,7 +202,6 @@ fn solve(
) -> State {
match constraint {
True => {
dbg!(&env.vars_by_symbol);
state
.vars_by_symbol
.extend(env.vars_by_symbol.iter().map(|(x, y)| (*x, *y)));
@ -537,12 +536,14 @@ fn solve(
let result = offenders.len();
if result > 0 {
/*
dbg!(
&subs,
&offenders,
&let_con.def_types,
&let_con.def_aliases
);
*/
}
result