blob: 5b83e9d2cbb5afb40b9483c232dfa4ee431c4aaa (
plain) (
tree)
|
|
object Test {
def lookup(): Option[Pair[String, String]] =
(null: Option[Pair[String, String]]) match {
case Some(Pair(_, _)) =>
if (true)
Some(Pair(null, null))
else
lookup() match {
case Some(_) => Some(null)
case None => None
}
}
}
|