mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
fix most type inference issues
This commit is contained in:
parent
9b83c3ad58
commit
d931c8994a
10 changed files with 273 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue