diff options
author | Martin Odersky <odersky@gmail.com> | 2006-08-21 17:18:33 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-08-21 17:18:33 +0000 |
commit | 1536b1c67ecff52027a0c24d6791fb978fb88db4 (patch) | |
tree | ee544f3b5126e4393a2746d0b04281d413b1812e /test/files/neg/bug696.check | |
parent | 7f3d535727ff3fd8ba38e6fd55d474f76ed3ed90 (diff) | |
download | scala-1536b1c67ecff52027a0c24d6791fb978fb88db4.tar.gz scala-1536b1c67ecff52027a0c24d6791fb978fb88db4.tar.bz2 scala-1536b1c67ecff52027a0c24d6791fb978fb88db4.zip |
Diffstat (limited to 'test/files/neg/bug696.check')
-rw-r--r-- | test/files/neg/bug696.check | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/bug696.check b/test/files/neg/bug696.check new file mode 100644 index 0000000000..5a3ef2ff85 --- /dev/null +++ b/test/files/neg/bug696.check @@ -0,0 +1,9 @@ +bug696.scala:3 error: implicit method WithType is not contractive, + because the implicit parameter type TypeUtil0.this.Type[S] + is not strictly contained in the signature TypeUtil0.this.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.this.Type[scala.Any] was found. + as[Any](null); + ^ +two errors found |