mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Fix Num.toFloat
This commit is contained in:
parent
dd8dff0f9e
commit
30a95e90d1
5 changed files with 55 additions and 43 deletions
|
@ -757,7 +757,7 @@ fn annotate_low_level_usage(
|
|||
|
||||
NumAdd | NumSub | NumMul | NumGt | NumGte | NumLt | NumLte | NumAbs | NumNeg
|
||||
| NumDivUnchecked | NumRemUnchecked | NumSqrt | NumRound | NumSin | NumCos | Eq | NotEq
|
||||
| And | Or | Not => {
|
||||
| And | Or | Not | NumToFloat => {
|
||||
for (_, arg) in args {
|
||||
annotate_usage(&arg, usage);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue