summaryrefslogblamecommitdiff
path: root/test/files/run/t2873.scala
blob: 3a3cc59b465cafaf55b912791f5f7d9b2c7cbcdd (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                 

                                         
                                                                         

   
abstract class RedBlack[A] extends Serializable {
  abstract class Tree[+B] extends Serializable
  case object Empty extends Tree[Nothing]
}

object Test {
  def main(args: Array[String]): Unit = {
    println(classOf[RedBlack[_]].getMethod("Empty").getGenericReturnType)
  }
}