mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
fix div_f64
This commit is contained in:
parent
a7971c738a
commit
1af180da48
1 changed files with 2 additions and 2 deletions
|
@ -355,10 +355,10 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// divFloat : Float, Float -> Float
|
||||
add_type(Symbol::NUM_DIV_FLOAT, {
|
||||
let_tvars! { star1, star2, star3};
|
||||
let_tvars! { star1, star2, star3, star4, star5};
|
||||
unique_function(
|
||||
vec![float_type(star1), float_type(star2)],
|
||||
float_type(star3),
|
||||
result_type(star3, float_type(star4), lift(star5, div_by_zero())),
|
||||
)
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue