blob: d626ccd3f7c202bec29d868cc04a352ef73ef54d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
trait Out[+T]
object Test {
def foo[T <% AnyRef](x: T) = ???
var x: Out[_ >: String] = ???
var y: Out[String] = ???
x = y // should give error, but currently masked by covariant alias representation
// y = x
}
|