summaryrefslogblamecommitdiff
path: root/test/files/neg/t2031.scala
blob: e4708c45ac78b1e79bdb86b8bcc93e6ad701c710 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                            
import scala.collection.immutable._

object Test extends Application {
 val res0 = TreeSet(1, 2, 3)

 //res0.map(x => x)(TreeSet.newBuilder[Int])

 res0.map(x => x)(TreeSet.newBuilder)
}