mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
actually infer the size
This commit is contained in:
parent
c00cd2f415
commit
e9f5c1a73c
8 changed files with 51 additions and 25 deletions
|
@ -133,13 +133,13 @@ fn unify_context(subs: &mut Subs, pool: &mut Pool, ctx: Context) -> Outcome {
|
|||
// NOTE: names are generated here (when creating an error type) and that modifies names
|
||||
// generated by pretty_print.rs. So many test will fail with changes in variable names when
|
||||
// this block runs.
|
||||
let (type1, _problems1) = subs.var_to_error_type(ctx.first);
|
||||
let (type2, _problems2) = subs.var_to_error_type(ctx.second);
|
||||
println!("\n --------------- \n");
|
||||
dbg!(ctx.first, type1);
|
||||
println!("\n --- \n");
|
||||
dbg!(ctx.second, type2);
|
||||
println!("\n --------------- \n");
|
||||
// let (type1, _problems1) = subs.var_to_error_type(ctx.first);
|
||||
// let (type2, _problems2) = subs.var_to_error_type(ctx.second);
|
||||
// println!("\n --------------- \n");
|
||||
// dbg!(ctx.first, type1);
|
||||
// println!("\n --- \n");
|
||||
// dbg!(ctx.second, type2);
|
||||
// println!("\n --------------- \n");
|
||||
println!(
|
||||
"{:?} {:?} ~ {:?} {:?}",
|
||||
ctx.first,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue