diff options
author | Paul Phillips <paulp@improving.org> | 2010-05-13 03:41:17 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-05-13 03:41:17 +0000 |
commit | e7ce9b9723f98c77dd2d47b1c00cd4f214198243 (patch) | |
tree | 26b6f7d7a5cbf2b9fccca4d61c22e77199610595 /test/files | |
parent | 5f5660dd6ea1a885eaa95ead9a82b0a94ac09c97 (diff) | |
download | scala-e7ce9b9723f98c77dd2d47b1c00cd4f214198243.tar.gz scala-e7ce9b9723f98c77dd2d47b1c00cd4f214198243.tar.bz2 scala-e7ce9b9723f98c77dd2d47b1c00cd4f214198243.zip |
Should fix the interpreter bug I just introduced.
crashing-under-optimise test into pending since that looks like
a genuine bug - I'll open it a ticket. No review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/bug3150.scala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/files/run/bug3150.scala b/test/files/run/bug3150.scala deleted file mode 100644 index 034703b5f7..0000000000 --- a/test/files/run/bug3150.scala +++ /dev/null @@ -1,10 +0,0 @@ -object Test { - case object Bob { override def equals(other: Any) = true } - def f(x: Any) = x match { case Bob => Bob } - - def main(args: Array[String]): Unit = { - assert(f(Bob) eq Bob) - assert(f(0) eq Bob) - assert(f(Nil) eq Bob) - } -} |