diff options
Diffstat (limited to 'test/files/neg/variances.check')
-rw-r--r-- | test/files/neg/variances.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/variances.check b/test/files/neg/variances.check index e6abdcbb53..c5269190c2 100644 --- a/test/files/neg/variances.check +++ b/test/files/neg/variances.check @@ -10,4 +10,7 @@ variances.scala:16: error: covariant type A occurs in invariant position in supe variances.scala:63: error: covariant type A occurs in contravariant position in type => test.Covariant.T[A]{def m: (A) => A} of value x val x: T[A] { ^ -four errors found +variances.scala:79: error: covariant type T occurs in contravariant position in type => test.TestAlias.B[C.this.A] of method foo + def foo: B[A] + ^ +5 errors found |