legacy-svn-scala/test/files/neg/variances.check

5 lines
174 B
Plaintext

variances.scala:2 error: covariant type a occurs in contravariant position in type Vector[a] of value x
def append(x: Vector[a]): Vector[a]
^
one error found