mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 13:34:15 +00:00
Check in gen tests that don't work yet
This commit is contained in:
parent
f95c5aee12
commit
d01c5c83b7
4 changed files with 51 additions and 3 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue