mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
back to a working state
This commit is contained in:
parent
5b14dc73f6
commit
40f0588696
7 changed files with 147 additions and 190 deletions
|
@ -133,12 +133,12 @@ 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);
|
||||
// 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!(
|
||||
"{:?} {:?} ~ {:?} {:?}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue