blob: 1037b53601194903e0989f225bf9cf4dcec3ae6e (
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("foo") => // needed to trigger bug
case Breakdown("", who) => println ("hello " + who)
}
}
|