mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
fixes Num.subWrap on std.rs
This commit is contained in:
parent
fe588c120c
commit
ff23ce7bec
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
unique_function(vec![num_type(u, num), num_type(v, num)], num_type(w, num))
|
||||
});
|
||||
|
||||
// subWrap : Num a, Num a -> Num a
|
||||
// subWrap : Int, Int -> Int
|
||||
add_type(Symbol::NUM_SUB_WRAP, {
|
||||
let_tvars! { u, v, w, num };
|
||||
unique_function(vec![num_type(u, num), num_type(v, num)], num_type(w, num))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue