[Issue 15737] forward reference error in std.format
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 25 08:11:49 PST 2017
https://issues.dlang.org/show_bug.cgi?id=15737
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
The problem is that the function has the const identifier which implicitly
makes this const, while writeln expects a non-const argument. I think that this
isn't an issue, but a programming mistake; removing const from the functions
will solve the issue.
--
More information about the Digitalmars-d-bugs
mailing list