diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-10-08 15:32:52 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-10-08 15:32:52 +0000 |
commit | bd46c931f0fba3a9bee8816a7b2fb77ed33bc361 (patch) | |
tree | efef9c3b5c5e59e7d8d42bb2b6e22adac94d13f5 /test/files/run/interpreter.scala | |
parent | 29a8a8f77998b640f5083e87cd735301dd63922a (diff) | |
download | scala-bd46c931f0fba3a9bee8816a7b2fb77ed33bc361.tar.gz scala-bd46c931f0fba3a9bee8816a7b2fb77ed33bc361.tar.bz2 scala-bd46c931f0fba3a9bee8816a7b2fb77ed33bc361.zip |
Fix for #547 and #1404.
Diffstat (limited to 'test/files/run/interpreter.scala')
-rw-r--r-- | test/files/run/interpreter.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 13abc565f7..1ebe72ed2a 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -22,6 +22,12 @@ trait PointlessTrait val (x,y) = (2,3) 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") + // implicit conversions case class Foo(n: Int) case class Bar(n: Int) |