blob: 36322bf896963cc74234a058bbae71d8c4828519 (
plain) (
tree)
|
|
object Test {
case class C(x: Int)
val v: Some[Int] = null
def main(args: Array[String]): Unit = {
try C.unapply(null) catch { case _: MatchError => }
try v match { case Some(1) => } catch { case _: MatchError => }
}
}
|