From 973ac733622eb9409c8c5ffcf05ba14775e07b18 Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Sat, 18 Oct 2008 10:57:42 +0000 Subject: Reverting fix/test for #1404. Added test for array pretty-printing. --- test/files/run/interpreter.scala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/files/run/interpreter.scala') diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 1ebe72ed2a..dbfffd70d3 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -25,8 +25,11 @@ println("hello") // ambiguous toString problem from #547 val atom = new scala.xml.Atom() // overriding toString problem from #1404 -class S(override val toString : String) -val fish = new S("fish") +// commented out because the fix had to be reverted for arrays +//class S(override val toString : String) +//val fish = new S("fish") +// Test that arrays pretty print nicely. +val arr = Array("What's", "up", "doc?") // implicit conversions case class Foo(n: Int) -- cgit v1.2.3