aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t2075.scala
blob: e81fb201c640420d1c346fbb0aa7f32441f281eb (plain) (tree)
1
2
3
4
5
6
7






                                                          
object Test extends dotty.runtime.LegacyApp {
  var tm = new scala.collection.immutable.TreeMap[Int,Int]
  for (i <- 0 to 100)
    tm = tm.insert(i, i)

  tm.keySet.filter(_ < 40)
}