mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Merge pull request #4887 from roc-lang/weakening-5
Finish weakening let-bindings
This commit is contained in:
commit
ed7123ed5b
11 changed files with 109 additions and 69 deletions
|
@ -1199,10 +1199,10 @@ fn monomorphized_tag() {
|
|||
app "test" provides [main] to "./platform"
|
||||
|
||||
main =
|
||||
b = Bar
|
||||
b = \{} -> Bar
|
||||
f : [Foo, Bar], [Bar, Baz] -> U8
|
||||
f = \_, _ -> 18
|
||||
f b b
|
||||
f (b {}) (b {})
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
@ -1800,7 +1800,7 @@ fn instantiate_annotated_as_recursive_alias_toplevel() {
|
|||
|
||||
Value : [Nil, Array (List Value)]
|
||||
|
||||
foo : [Nil]*
|
||||
foo : [Nil]_
|
||||
foo = Nil
|
||||
|
||||
it : Value
|
||||
|
@ -1818,7 +1818,7 @@ fn instantiate_annotated_as_recursive_alias_polymorphic_expr() {
|
|||
main =
|
||||
Value : [Nil, Array (List Value)]
|
||||
|
||||
foo : [Nil]*
|
||||
foo : [Nil]_
|
||||
foo = Nil
|
||||
|
||||
it : Value
|
||||
|
@ -1838,7 +1838,7 @@ fn instantiate_annotated_as_recursive_alias_multiple_polymorphic_expr() {
|
|||
main =
|
||||
Value : [Nil, Array (List Value)]
|
||||
|
||||
foo : [Nil]*
|
||||
foo : [Nil]_
|
||||
foo = Nil
|
||||
|
||||
v1 : Value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue