diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-08-05 14:41:54 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-08-05 14:41:54 +0000 |
commit | e51d5de4cb1076948b30d42b889d994850dea766 (patch) | |
tree | 4ae10927f9f27ca0dc74fc77b949bc2762b1ba28 /test/files | |
parent | 23bd1501fc8aefecc3054c846973c05d260bb987 (diff) | |
download | scala-e51d5de4cb1076948b30d42b889d994850dea766.tar.gz scala-e51d5de4cb1076948b30d42b889d994850dea766.tar.bz2 scala-e51d5de4cb1076948b30d42b889d994850dea766.zip |
fix the failing test. review by dubochet.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/variances.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/variances.check b/test/files/neg/variances.check index c5269190c2..d395e45e4e 100644 --- a/test/files/neg/variances.check +++ b/test/files/neg/variances.check @@ -7,7 +7,7 @@ variances.scala:14: error: covariant type A occurs in contravariant position in variances.scala:16: error: covariant type A occurs in invariant position in supertype test.C[A] with ScalaObject of object Baz object Baz extends C[A] ^ -variances.scala:63: error: covariant type A occurs in contravariant position in type => test.Covariant.T[A]{def m: (A) => A} of value x +variances.scala:63: error: covariant type A occurs in contravariant position in type => test.Covariant.T[A]{val m: (A) => A} of value x val x: T[A] { ^ variances.scala:79: error: covariant type T occurs in contravariant position in type => test.TestAlias.B[C.this.A] of method foo |