mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
use bool literals for bools
This commit is contained in:
parent
048615e6a5
commit
64130dbbbc
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ pub fn eq_generic<'a>(
|
|||
|
||||
Stmt::Let(
|
||||
Symbol::BOOL_TRUE,
|
||||
Expr::Literal(Literal::Int(1i128.to_ne_bytes())),
|
||||
Expr::Literal(Literal::Bool(true)),
|
||||
LAYOUT_BOOL,
|
||||
root.arena.alloc(Stmt::Let(
|
||||
Symbol::BOOL_FALSE,
|
||||
Expr::Literal(Literal::Int(0i128.to_ne_bytes())),
|
||||
Expr::Literal(Literal::Bool(false)),
|
||||
LAYOUT_BOOL,
|
||||
root.arena.alloc(main_body),
|
||||
)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue