blob: d626ccd3f7c202bec29d868cc04a352ef73ef54d (
plain) (
tree)
|
|
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
}
|