From eb2f37cbc48c499b24e2dbc34ebfd72bb7414391 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Wed, 8 Aug 2012 16:30:13 -0400 Subject: Fix SI-6208. mutable.Queue now returns mutable.Queue for collection methods rather than MutableList. --- test/files/pos/t6208.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/pos/t6208.scala (limited to 'test/files/pos') 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) +} -- cgit v1.2.3