blob: 17199ea866454a15bb509b7cae00ea5af6b846ff (
plain) (
blame)
1
2
3
4
5
6
|
/*
* filter: It would fail on the following input
*/
object Test extends dotty.runtime.LegacyApp {
List(List(1), List(2)) match { case x :: (y :: Nil) :: Nil => println(y) }
}
|