summaryrefslogtreecommitdiff
path: root/test/files/pos/t6208.scala
diff options
context:
space:
mode:
authorJosh Suereth <joshua.suereth@gmail.com>2012-08-08 16:30:13 -0400
committerJosh Suereth <joshua.suereth@gmail.com>2012-08-08 16:33:00 -0400
commiteb2f37cbc48c499b24e2dbc34ebfd72bb7414391 (patch)
treecab3805d35f7f96b3c26f3a56e9b8707721cd90b /test/files/pos/t6208.scala
parentba402c457aecf7d94038534775b7b063d7d5bd9e (diff)
downloadscala-eb2f37cbc48c499b24e2dbc34ebfd72bb7414391.tar.gz
scala-eb2f37cbc48c499b24e2dbc34ebfd72bb7414391.tar.bz2
scala-eb2f37cbc48c499b24e2dbc34ebfd72bb7414391.zip
Fix SI-6208. mutable.Queue now returns mutable.Queue for collection methods rather than MutableList.
Diffstat (limited to 'test/files/pos/t6208.scala')
-rw-r--r--test/files/pos/t6208.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t6208.scala b/test/files/pos/t6208.scala
new file mode 100644
index 0000000000..dac571346d
--- /dev/null
+++ b/test/files/pos/t6208.scala
@@ -0,0 +1,4 @@
+object Test {
+ val col = collection.mutable.Queue(1,2,3)
+ val WORK: collection.mutable.Queue[Int] = col filterNot (_ % 2 == 0)
+}