aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3688.scala
blob: bf79830811122186230a7cc27cf2f7593f8bb052 (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
}