mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fixed specialisation box
This commit is contained in:
parent
ffc19ec2a2
commit
8f022d4310
2 changed files with 6 additions and 9 deletions
|
@ -3028,9 +3028,9 @@ fn specialize_after_match() {
|
|||
listB = Nil
|
||||
|
||||
longestLinkedList listA listB
|
||||
|
||||
|
||||
LinkedList a : [Cons a (LinkedList a), Nil]
|
||||
|
||||
|
||||
longestLinkedList : LinkedList a, LinkedList a -> Nat
|
||||
longestLinkedList = \listA, listB -> when listA is
|
||||
Nil -> linkedListLength listB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue