diff options
author | Martin Odersky <odersky@gmail.com> | 2009-06-25 11:13:12 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-06-25 11:13:12 +0000 |
commit | 6c0ba3ee65cb5669efd2cdde7ea5cc1b6d59adc7 (patch) | |
tree | 303c785fe0545c90360ec83397b175bf1d0d21e7 /test/files/neg/variances.check | |
parent | 24781591253de7a9f54a3fc7bcf6ae4b3e969098 (diff) | |
download | scala-6c0ba3ee65cb5669efd2cdde7ea5cc1b6d59adc7.tar.gz scala-6c0ba3ee65cb5669efd2cdde7ea5cc1b6d59adc7.tar.bz2 scala-6c0ba3ee65cb5669efd2cdde7ea5cc1b6d59adc7.zip |
fixed bug in Parser and updated check files.
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 5c8ddd5159..e6abdcbb53 100644 --- a/test/files/neg/variances.check +++ b/test/files/neg/variances.check @@ -7,4 +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] ^ -three errors found +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 |