https://issues.dlang.org/show_bug.cgi?id=15737

--- Comment #2 from John Colvin <[email protected]> ---
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.

--

Reply via email to