mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Weaken lists
This commit is contained in:
parent
caa3a6c6a8
commit
b2cdddbdfb
7 changed files with 80 additions and 38 deletions
|
@ -1231,12 +1231,12 @@ fn monomorphized_list() {
|
|||
app "test" provides [main] to "./platform"
|
||||
|
||||
main =
|
||||
l = [1, 2, 3]
|
||||
l = \{} -> [1, 2, 3]
|
||||
|
||||
f : List U8, List U16 -> Nat
|
||||
f = \_, _ -> 18
|
||||
|
||||
f l l
|
||||
f (l {}) (l {})
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue