summaryrefslogtreecommitdiff
path: root/test/files/neg/t0590.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2009-08-21 08:57:51 +0000
committerAdriaan Moors <adriaan.moors@epfl.ch>2009-08-21 08:57:51 +0000
commit69d4d8c0a34c94e72d69af1039c0a6131b97bb82 (patch)
treea9b6d4e6633ed2cd59dd33375d2c549136eeff95 /test/files/neg/t0590.check
parent832114b93349fa60b7c272c1c2189325bae49ca6 (diff)
downloadscala-69d4d8c0a34c94e72d69af1039c0a6131b97bb82.tar.gz
scala-69d4d8c0a34c94e72d69af1039c0a6131b97bb82.tar.bz2
scala-69d4d8c0a34c94e72d69af1039c0a6131b97bb82.zip
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
Diffstat (limited to 'test/files/neg/t0590.check')
-rw-r--r--test/files/neg/t0590.check5
1 files changed, 3 insertions, 2 deletions
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