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/t4877.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/t4877.check')
-rw-r--r-- | test/files/neg/t4877.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t4877.check b/test/files/neg/t4877.check index 0f72300bb4..a4b1e6a50d 100644 --- a/test/files/neg/t4877.check +++ b/test/files/neg/t4877.check @@ -9,7 +9,7 @@ t4877.scala:6: error: type mismatch; def foo3: AnyRef { def bar(x: Int): Int } = new AnyRef { def bar(x: Int) = "abc" } ^ t4877.scala:7: error: type mismatch; - found : Object with C{def bar(x: Int): Int} + found : C{def bar(x: Int): Int} required: C{def bar(x: Int): Int; def quux(x: Int): Int} def foo4: C { def bar(x: Int): Int ; def quux(x: Int): Int } = new C { def bar(x: Int) = 5 } ^ |