[Issue 18486] std.format cannot format const objects
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 21 18:57:48 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18486
Jack Stouffer <jack at jackstouffer.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to Jack Stouffer from comment #1)
> hasToString returns 1 for C and 0 for const(C).
Oh geez, it's because Object.toString isn't marked const.
*** This issue has been marked as a duplicate of issue 7879 ***
--
More information about the Digitalmars-d-bugs
mailing list