summaryrefslogblamecommitdiff
path: root/test/files/pos/t1560.scala
blob: 2af299af86bf61850168a4d8e5843bc5d78e829e (plain) (tree)
1
2
3
4
5
6
7
8
                         
 


              
 
                                               
 


                       
 
 
object Test extends App {

  trait C[T] {
    def t: T
  }

  def b: Option[C[x] forSome { type x }] = null

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

}