diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-08-21 17:23:12 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-08-21 17:23:12 +0000 |
commit | 4a1b8bcc729e7817aa4017a7494f2c61fd7b7a22 (patch) | |
tree | f548d7ccee4cf56db3f3ab17d435a064257c91f9 /test/files | |
parent | 163e4275ce6479fec2a04edac25e94cc176b8430 (diff) | |
download | scala-4a1b8bcc729e7817aa4017a7494f2c61fd7b7a22.tar.gz scala-4a1b8bcc729e7817aa4017a7494f2c61fd7b7a22.tar.bz2 scala-4a1b8bcc729e7817aa4017a7494f2c61fd7b7a22.zip |
in the end had to disable conforms as view in t...
in the end had to disable conforms as view in tryImplicit (see comment
in removeNames in NamesDefaults) fixed check file for viewtest added
newTermName for conforms to StdNames, so removed the previous weirdness
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/viewtest.check | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/files/neg/viewtest.check b/test/files/neg/viewtest.check index a93f803fe2..21ed93a01c 100644 --- a/test/files/neg/viewtest.check +++ b/test/files/neg/viewtest.check @@ -3,10 +3,4 @@ viewtest.scala:43: error: type mismatch; required: List[a(in method view3)] case y1: List[a] => compareLists(x, y1) ^ -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 +one error found |