blob: ba2e52f1feaf14ad9b7cecbfb8119b1a26a2f408 (
plain) (
tree)
|
|
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)
}
}
|