diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/bug2075.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/bug2075.scala b/test/files/run/bug2075.scala new file mode 100644 index 0000000000..f328faddcb --- /dev/null +++ b/test/files/run/bug2075.scala @@ -0,0 +1,7 @@ +object Test extends Application { + var tm = new scala.collection.immutable.TreeMap[Int,Int] + for (i <- 0 to 100) + tm = tm.insert(i, i) + + tm.keySet.filter(_ < 40) +}
\ No newline at end of file |