diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-08-24 15:08:12 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-08-24 15:08:12 +0000 |
commit | 99705d852dfd39986a91dfb13b9f9be090f7f41a (patch) | |
tree | 2ba90f6233bb1a4516e9028bb9ab254322b1ce50 /test/files | |
parent | a97d573f6d8549bf8cc101c86ca7fedd54001bc5 (diff) | |
download | scala-99705d852dfd39986a91dfb13b9f9be090f7f41a.tar.gz scala-99705d852dfd39986a91dfb13b9f9be090f7f41a.tar.bz2 scala-99705d852dfd39986a91dfb13b9f9be090f7f41a.zip |
updated checkfile for neg/viewtest
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/viewtest.check | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/files/neg/viewtest.check b/test/files/neg/viewtest.check index 21ed93a01c..a93f803fe2 100644 --- a/test/files/neg/viewtest.check +++ b/test/files/neg/viewtest.check @@ -3,4 +3,10 @@ viewtest.scala:43: error: type mismatch; required: List[a(in method view3)] case y1: List[a] => compareLists(x, y1) ^ -one error found +viewtest.scala:104: error: ambiguous implicit values: + both method view4 in object O of type [a](x: a)a + and method identity in object Predef of type [A](x: A)A + match expected type (test.Str) => test.Ordered[test.Str] + t = t insert Str(s) + ^ +two errors found |