mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix gen tests
This commit is contained in:
parent
e6ab8dcf60
commit
59eb980fb2
1 changed files with 6 additions and 6 deletions
|
@ -1695,7 +1695,7 @@ fn instantiate_annotated_as_recursive_alias_toplevel() {
|
|||
|
||||
Value : [Nil, Array (List Value)]
|
||||
|
||||
foo : [Nil]
|
||||
foo : [Nil]_
|
||||
foo = Nil
|
||||
|
||||
it : Value
|
||||
|
@ -1723,7 +1723,7 @@ fn instantiate_annotated_as_recursive_alias_polymorphic_expr() {
|
|||
main =
|
||||
Value : [Nil, Array (List Value)]
|
||||
|
||||
foo : [Nil]
|
||||
foo : [Nil]_
|
||||
foo = Nil
|
||||
|
||||
it : Value
|
||||
|
@ -1750,16 +1750,16 @@ fn instantiate_annotated_as_recursive_alias_multiple_polymorphic_expr() {
|
|||
main =
|
||||
Value : [Nil, Array (List Value)]
|
||||
|
||||
foo : [Nil]
|
||||
foo = Nil
|
||||
foo : {} -> [Nil]
|
||||
foo = \{} -> Nil
|
||||
|
||||
v1 : Value
|
||||
v1 = foo
|
||||
v1 = foo {}
|
||||
|
||||
Value2 : [Nil, B U16, Array (List Value)]
|
||||
|
||||
v2 : Value2
|
||||
v2 = foo
|
||||
v2 = foo {}
|
||||
|
||||
when {v1, v2} is
|
||||
{v1: Nil, v2: Nil} -> 123i64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue