blob: ba2e52f1feaf14ad9b7cecbfb8119b1a26a2f408 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object Breakdown {
def unapplySeq(x: Int): Some[List[String]] = Some(List("", "there"))
}
object Test {
42 match {
case Breakdown("") => // needed to trigger bug
case Breakdown("", who) => println ("hello " + who)
}
}
|