This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Bug Triage, #4e4e4e: Something is strange about toString in scala.xml.Atom

No replies
Alex Cruise
Joined: 2008-12-17,
User offline. Last seen 2 years 26 weeks ago.

https://lampsvn.epfl.ch/trac/scala/ticket/547

Note that merely saying "new Atom()" doesn't throw "erroneous
reference to overloaded definition" in the interpreter anymore until
you explicitly call .toString (but .toString() prints "()"... *sigh*)

IMO we should immediately deprecate, and plan to delete at the
earliest feasible opportunity, the overloaded
SpecialNode.toString(StringBuilder).

There was some talk of replacing it with addString(StringBuilder)
which is used elsewhere in the library; sounds good to me!

-0xe1a

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland