aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t1560.scala
blob: dd76392e66790d227c90dfb48acb311f72efb45d (plain) (tree)
1
2
3
4
5
6
7





                         
                            





                       
object Test extends App {

  trait C[T] {
    def t: T
  }

  def b: Option[C[_]] = null

  def c = b match {
    case Some(b) => b.t
  }

}