From 69d4d8c0a34c94e72d69af1039c0a6131b97bb82 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 21 Aug 2009 08:57:51 +0000 Subject: improved previous fix for implicits and `conforms` because conforms/identity was no longer prevented from being used as a view (which does not make sense, but preventing it shouldn't be necessary), removeNames in NamesDefaults suddenly didn't detect all ambiguities because it relied on tryTypedApply failing fixed by using an EmptyTree as an ambiguous argument instead of the argument, so failure is guaranteed fixed check file for t0590 also reintroduced conforms, because we now have a new starr --- test/files/neg/t0590.check | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/files/neg/t0590.check') diff --git a/test/files/neg/t0590.check b/test/files/neg/t0590.check index b928c1cb76..a3ef70c6cd 100644 --- a/test/files/neg/t0590.check +++ b/test/files/neg/t0590.check @@ -1,5 +1,6 @@ -t0590.scala:2: error: diverging implicit expansion for type (Null(null)) => T -starting with method foo in object Test +t0590.scala:2: error: type mismatch; + found : Null(null) + required: T implicit def foo[T] : T = null ^ one error found -- cgit v1.2.3