blob: d15e9d1a840d59713aa4d7920c79c8a4897ff817 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import collection.mutable
import collection.JavaConversions._
import java.{util => ju}
object Test {
implicitly[mutable.Map[Int, String] => ju.Dictionary[Int, String]]
}
object Test2 {
def m[P <% ju.List[Int]](l: P) = 1
m(List(1)) // bug: should compile
}
|