mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
simplify Bool layout
This commit is contained in:
parent
f906c9b4b4
commit
c11f374eb0
8 changed files with 103 additions and 105 deletions
|
@ -855,10 +855,7 @@ fn decide_to_branching<'a>(
|
|||
jumps,
|
||||
));
|
||||
|
||||
let cond_layout = Layout::Builtin(Builtin::Bool(
|
||||
TagName::Global("False".into()),
|
||||
TagName::Global("True".into()),
|
||||
));
|
||||
let cond_layout = Layout::Builtin(Builtin::Bool);
|
||||
|
||||
Expr::Cond {
|
||||
cond,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue