From b2559b3cf4516f751ad050480c50e348e03952d7 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 8 Nov 2010 20:11:41 +0000 Subject: Deprecation patrol. the same issues as JavaConversions with respect to overloading implicit methods making them inaccessible to view bounds. Fixed JavaConverters. Added a warning for when people overload parameterized implicits: in almost all cases the name is irrelevant so there's little point in unwittingly suffering degraded functionality. No review. --- test/files/pos/bug3688-redux.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/pos/bug3688-redux.scala (limited to 'test/files/pos/bug3688-redux.scala') diff --git a/test/files/pos/bug3688-redux.scala b/test/files/pos/bug3688-redux.scala new file mode 100644 index 0000000000..e601cf240c --- /dev/null +++ b/test/files/pos/bug3688-redux.scala @@ -0,0 +1,8 @@ +import collection.JavaConverters._ +import java.{ util => ju } +import scala.collection.{ mutable, immutable } + +object Test { + def m[P <% AsJava[ju.List[Int]]](l: P) = 1 + m(List(1)) +} \ No newline at end of file -- cgit v1.2.3