aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/printbounds.scala
blob: 7499b85037b0d24d8ea1119d07fbaa472b671b73 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                       
class Tree[-T >: Number]


class Test {

  val x: Tree[_] = ???

  val y = x // With -Xprint:front this should print  val x: Tree[_] = x
            // used to print Tree[Nothing], which is confusing.

}