From e51d5de4cb1076948b30d42b889d994850dea766 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Thu, 5 Aug 2010 14:41:54 +0000 Subject: fix the failing test. review by dubochet. --- test/files/neg/variances.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3