summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-04-02 16:42:48 +0000
committerMartin Odersky <odersky@gmail.com>2008-04-02 16:42:48 +0000
commit1258a12712ca48907e70c4e870571eff30f4bfbb (patch)
tree654bdcd292485429a62238cd489118ed6a1934fd /test/files
parentfd417cfa960542d72e54cafd44eff8941fff8f1e (diff)
downloadscala-1258a12712ca48907e70c4e870571eff30f4bfbb.tar.gz
scala-1258a12712ca48907e70c4e870571eff30f4bfbb.tar.bz2
scala-1258a12712ca48907e70c4e870571eff30f4bfbb.zip
removed contractiveness requirement for implici...
removed contractiveness requirement for implicit methods
Diffstat (limited to 'test/files')
-rw-r--r--test/files/neg/bug696.check7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/files/neg/bug696.check b/test/files/neg/bug696.check
index 2bc09820ed..7d9d2687b0 100644
--- a/test/files/neg/bug696.check
+++ b/test/files/neg/bug696.check
@@ -1,9 +1,4 @@
-bug696.scala:3: error: implicit method WithType is not contractive,
- because the implicit parameter type TypeUtil0.Type[S]
- is not strictly contained in the signature TypeUtil0.Type[S with T]
- implicit def WithType[S,T](implicit tpeS : Type[S], tpeT : Type[T]) : Type[S with T] = null
- ^
bug696.scala:4: error: no implicit argument matching parameter type TypeUtil0.Type[Any] was found.
as[Any](null);
^
-two errors found
+one error found