diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-04 11:22:49 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-04 11:22:49 -0800 |
commit | 2b7fb460dd1e666ed37ccba49a82aab959413c22 (patch) | |
tree | 70f8f2b5799290a7d2d73632e91d82674be88ede /test/files/neg/t5060.check | |
parent | 8e4cf271282e392c0ad0ea46217af6393a3f731a (diff) | |
download | scala-2b7fb460dd1e666ed37ccba49a82aab959413c22.tar.gz scala-2b7fb460dd1e666ed37ccba49a82aab959413c22.tar.bz2 scala-2b7fb460dd1e666ed37ccba49a82aab959413c22.zip |
Updated checkfiles to subtract ScalaObject.
Diffstat (limited to 'test/files/neg/t5060.check')
-rw-r--r-- | test/files/neg/t5060.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t5060.check b/test/files/neg/t5060.check index ab860c9d5b..e71f30ccdb 100644 --- a/test/files/neg/t5060.check +++ b/test/files/neg/t5060.check @@ -1,7 +1,7 @@ -t5060.scala:2: error: covariant type T occurs in contravariant position in type => Object with ScalaObject{def contains(x: T): Unit} of value foo0 +t5060.scala:2: error: covariant type T occurs in contravariant position in type => Object{def contains(x: T): Unit} of value foo0 val foo0 = { ^ -t5060.scala:6: error: covariant type T occurs in contravariant position in type => Object with ScalaObject{def contains(x: T): Unit} of method foo1 +t5060.scala:6: error: covariant type T occurs in contravariant position in type => Object{def contains(x: T): Unit} of method foo1 def foo1 = { ^ two errors found |