mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
int cast
This commit is contained in:
parent
128741e585
commit
43e71f2ee9
6 changed files with 27 additions and 1 deletions
|
@ -83,6 +83,7 @@ pub enum LowLevel {
|
|||
NumShiftLeftBy,
|
||||
NumShiftRightBy,
|
||||
NumShiftRightZfBy,
|
||||
NumIntCast,
|
||||
Eq,
|
||||
NotEq,
|
||||
And,
|
||||
|
|
|
@ -854,6 +854,8 @@ define_builtins! {
|
|||
93 NUM_AT_NATURAL: "@Natural"
|
||||
94 NUM_NATURAL: "Natural" imported
|
||||
95 NUM_NAT: "Nat" imported
|
||||
96 NUM_INT_CAST: "intCast"
|
||||
|
||||
}
|
||||
2 BOOL: "Bool" => {
|
||||
0 BOOL_BOOL: "Bool" imported // the Bool.Bool type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue