[Issue 535] writef doesn't work on interfaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 5 21:41:06 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=535


wbaxter at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal




------- Comment #1 from wbaxter at gmail.com  2007-12-05 23:41 -------
I'd say this is an outright bug.  It can't cast to Object because it could be a
COM interface, but if the interface explicitly has a toString method, then
writef should definitely call it rather than throwing an exception.


-- 



More information about the Digitalmars-d-bugs mailing list