aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/t6022.scala
blob: 87f7cbf3b2f207127fe77e60dbdc593dc44468ce (plain) (tree)
1
2
3
4
5
6
7






                                                                          
class Test {
  (null: Any) match {
    case x: AnyRef if false =>
    case list: Option[_] =>
    case product: Product => // change Product to String and it's all good
  }
}