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

--- Comment #2 from [email protected] ---
A workaround is to call the toString method:


struct Foo {
    char[3] toString() const pure {
        return ['F', 'o', 'o'];
    }
}
void main() {
    import std.stdio;
    Foo f;
    writeln(f.toString);
}

--

Reply via email to