mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
add new layer to the Num types
This commit is contained in:
parent
4d692af639
commit
aa4b376134
10 changed files with 441 additions and 92 deletions
|
@ -1219,7 +1219,7 @@ fn float_type(u: VarId) -> SolvedType {
|
|||
Vec::new(),
|
||||
Box::new(builtin_aliases::num_type(SolvedType::Apply(
|
||||
Symbol::ATTR_ATTR,
|
||||
vec![flex(u), builtin_aliases::floatingpoint_type()],
|
||||
vec![flex(u), builtin_aliases::float_type()],
|
||||
))),
|
||||
),
|
||||
],
|
||||
|
@ -1237,7 +1237,7 @@ fn int_type(u: VarId) -> SolvedType {
|
|||
Vec::new(),
|
||||
Box::new(builtin_aliases::num_type(SolvedType::Apply(
|
||||
Symbol::ATTR_ATTR,
|
||||
vec![flex(u), builtin_aliases::integer_type()],
|
||||
vec![flex(u), builtin_aliases::int_type()],
|
||||
))),
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue