mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
builtin maxI128 initial
This commit is contained in:
parent
c2525d2407
commit
4d046abefa
11 changed files with 73 additions and 17 deletions
|
@ -270,6 +270,12 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
int_type(star, int)
|
||||
});
|
||||
|
||||
// maxI128 : Int
|
||||
add_type(Symbol::NUM_MAX_I128, {
|
||||
let_tvars! { star, int };
|
||||
int_type(star, int)
|
||||
});
|
||||
|
||||
// minInt : Int
|
||||
add_type(Symbol::NUM_MIN_INT, {
|
||||
let_tvars! { star, int };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue