[Issue 15737] forward reference error in std.format
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 25 08:17:08 PST 2017
https://issues.dlang.org/show_bug.cgi?id=15737
--- Comment #2 from John Colvin <john.loughran.colvin at gmail.com> ---
Simpler example with the same problem:
void main()
{
import std.stdio;
const Object o;
writeln(o);
}
Not using const is a workaround, but a) writeln should be able to work with a
const Object and b) even if it can't, it shouldn't cause a forward reference
error.
--
More information about the Digitalmars-d-bugs
mailing list