diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-11 23:07:12 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-11 23:07:12 -0800 |
commit | 9ea0a208346e86031a58fa9c28daf6103778a02f (patch) | |
tree | ccfa174994cfec5904e35e4fe7d46b2b605dd7ed /test/files/neg/t5060.check | |
parent | 275839d8c3767dae8dd07d1bf8b7e9e87cb369ea (diff) | |
parent | e5da30b843fe8bfe1638e3e08cdeaa4b6ae2f2d1 (diff) | |
download | scala-9ea0a208346e86031a58fa9c28daf6103778a02f.tar.gz scala-9ea0a208346e86031a58fa9c28daf6103778a02f.tar.bz2 scala-9ea0a208346e86031a58fa9c28daf6103778a02f.zip |
Merge pull request #1869 from retronym/backport/1826
Backport of SI-6846.
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 e71f30ccdb..09b2d9a4b1 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{def contains(x: T): Unit} of value foo0 +t5060.scala:2: error: covariant type T occurs in contravariant position in type => AnyRef{def contains(x: T): Unit} of value foo0 val foo0 = { ^ -t5060.scala:6: error: covariant type T occurs in contravariant position in type => Object{def contains(x: T): Unit} of method foo1 +t5060.scala:6: error: covariant type T occurs in contravariant position in type => AnyRef{def contains(x: T): Unit} of method foo1 def foo1 = { ^ two errors found |