From 4a1b8bcc729e7817aa4017a7494f2c61fd7b7a22 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 21 Aug 2009 17:23:12 +0000 Subject: 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 --- test/files/neg/viewtest.check | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test') 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 -- cgit v1.2.3