Appender example doesn't work with GDC. GDC bug?

Adam D. Ruppe destructionator at gmail.com
Sat Dec 28 03:30:31 UTC 2019


On Saturday, 28 December 2019 at 03:08:48 UTC, BoraxMan wrote:
> For the line "Writeln(w[]);" GDC reports "error: no [] operator 
> overload for type Appender!string".

I think that is just a broken example. Pretty sure it should be 
`w.data` instead of `w[]`.


More information about the D.gnu mailing list