Hi.

According to the comment of #displayString it should be used as default
textual representation of objects in the UI:

"While printString is about to give a detailled information about an
object, displayString is a message that should return a short string-based
representation to be used by list and related UI frameworks. By default,
simply return printString."
"asString should not be implemented in Object, and kept for conversion
between strings, symbols, text and characters."

But String itself does not respect this message:

'some string' displayString " ==> '''someString''' "


Is it bug? Or is there any reason for this?

Best regards,
Denis

Reply via email to