mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Update snapshots
This commit is contained in:
parent
0c500d6597
commit
da47b2ee1b
7 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ It has the type:
|
|||
_Pair(Str)_
|
||||
|
||||
But the type annotation says it should have the type:
|
||||
_Pair(Num.U8)_
|
||||
_Pair(U8)_
|
||||
|
||||
**MISSING METHOD**
|
||||
This **from_numeral** method is being called on the type **Str**, which has no method with that name:
|
||||
|
|
@ -72,7 +72,7 @@ It has the type:
|
|||
_Pair(Str)_
|
||||
|
||||
But the type annotation says it should have the type:
|
||||
_Pair(Num.U64)_
|
||||
_Pair(U64)_
|
||||
|
||||
**MISSING METHOD**
|
||||
This **from_numeral** method is being called on the type **Str**, which has no method with that name:
|
||||
|
|
|
|||
|
|
@ -921,7 +921,7 @@ This `if` condition needs to be a _Bool_:
|
|||
^^^
|
||||
|
||||
Right now, it has the type:
|
||||
_Num.U64_
|
||||
_U64_
|
||||
|
||||
Every `if` condition must evaluate to a _Bool_–either `True` or `False`.
|
||||
|
||||
|
|
|
|||
|
|
@ -865,7 +865,7 @@ This `if` condition needs to be a _Bool_:
|
|||
^^^
|
||||
|
||||
Right now, it has the type:
|
||||
_Num.U64_
|
||||
_U64_
|
||||
|
||||
Every `if` condition must evaluate to a _Bool_–either `True` or `False`.
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -210,7 +210,7 @@ It's referenced here:
|
|||
|
||||
|
||||
**MISSING METHOD**
|
||||
This **to_frac** method is being called on the type **Num.U8**, which has no method with that name:
|
||||
This **to_frac** method is being called on the type **U8**, which has no method with that name:
|
||||
**Color.md:22:17:22:24:**
|
||||
```roc
|
||||
rounded = a.to_frac() / 255.0
|
||||
|
|
|
|||
|
|
@ -812,7 +812,7 @@ This `if` condition needs to be a _Bool_:
|
|||
^^^
|
||||
|
||||
Right now, it has the type:
|
||||
_Num.U64_
|
||||
_U64_
|
||||
|
||||
Every `if` condition must evaluate to a _Bool_–either `True` or `False`.
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ This argument has the type:
|
|||
_{ age: a, namee: Str } where [a.from_numeral : Numeral -> Try(_b, [InvalidNumeral(Str)])]_
|
||||
|
||||
But `getName` needs the first argument to be:
|
||||
_{ age: Num.U64, name: Str }_
|
||||
_{ age: U64, name: Str }_
|
||||
|
||||
# TOKENS
|
||||
~~~zig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue