diff options
author | Paul Phillips <paulp@improving.org> | 2010-10-16 19:01:41 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-10-16 19:01:41 +0000 |
commit | 87134363a20bc81297037d8858ee88e961f255f9 (patch) | |
tree | f95e94d6a0055e2b653750c4225fc7e99f96a9f5 /test | |
parent | 0642bdf04484bfccd03abacdd278750eebf22d98 (diff) | |
download | scala-87134363a20bc81297037d8858ee88e961f255f9.tar.gz scala-87134363a20bc81297037d8858ee88e961f255f9.tar.bz2 scala-87134363a20bc81297037d8858ee88e961f255f9.zip |
Disambiguated all the implicits in JavaConversi...
Disambiguated all the implicits in JavaConversions. All the
documentation had fallen out of date so I fixed that up too, in the
process converting from HTML to wikiformatting. (Wouldn't it be nice to
mass convert trunk out of the HTML tags?)
Closes #3688, no review.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/bug3688.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/bug3688.scala b/test/files/pos/bug3688.scala new file mode 100644 index 0000000000..e481db3587 --- /dev/null +++ b/test/files/pos/bug3688.scala @@ -0,0 +1,7 @@ +import collection.JavaConversions._ +import java.{ util => ju } + +object Test { + def m[P <% ju.List[Int]](l: P) = 1 + m(List(1)) // bug: should compile +}
\ No newline at end of file |