#1077 Mutablebuffer string method not getting used correctly.

4.1.2
closed
Classes (182)
none
5
2012-09-07
2012-06-09
No

For some reason, the mutablebuffer string method is not getting invoked in situations where a string value is required. In this small program,

x = .mutablebuffer~new
x~append("Fred")
say x

this displays "A MutableBuffer" rather than "Fred", even though MutableBuffer overrides the string method.

Discussion

  • Rick McGuire

    Rick McGuire - 2012-06-09

    Committed revision 7866. -- trunk version
    Committed revision 7866. -- 4.1 branch

     
  • Mark Miesfeld

    Mark Miesfeld - 2012-09-07
    • status: pending --> closed
    • pending_work_items: --> none
     


Anonymous

Cancel  Add attachments