Check in gen tests that don't work yet

This commit is contained in:
Ayaz Hafiz 2022-08-12 15:25:24 -07:00
parent f95c5aee12
commit d01c5c83b7
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 51 additions and 3 deletions

View file

@ -6158,8 +6158,14 @@ fn from_can_when<'a>(
// We can't know what to return!
return Stmt::RuntimeError("Hit a 0-branch when expression");
}
dbg!(&branches);
let opt_branches = to_opt_branches(env, procs, branches, exhaustive_mark, layout_cache);
dbg!(roc_types::subs::SubsFmtContent(
env.subs.get_content_without_compacting(cond_var),
env.subs
));
let cond_layout = return_on_layout_error!(
env,
layout_cache.from_var(env.arena, cond_var, env.subs),