From 920449d6eeb0267f96b115a47866ccd53a5a3c55 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 14 Oct 2010 16:12:03 +0000 Subject: All this time with Nil only claiming to be equa... All this time with Nil only claiming to be equal to immutable.Seqs, how is it possible? Closes #3923, no review. --- test/files/run/bug3923.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/run/bug3923.scala (limited to 'test/files/run/bug3923.scala') diff --git a/test/files/run/bug3923.scala b/test/files/run/bug3923.scala new file mode 100644 index 0000000000..484095a607 --- /dev/null +++ b/test/files/run/bug3923.scala @@ -0,0 +1,8 @@ +object Test { + def main(args: Array[String]): Unit = { + assert(collection.mutable.ArraySeq() == Nil) + assert(collection.mutable.ArraySeq() == Seq()) + assert(Seq() == collection.mutable.ArraySeq()) + assert(Nil == collection.mutable.ArraySeq()) + } +} -- cgit v1.2.3