Re: Compiler complaining about ~ used on static array in @nogc fn

2016-01-13 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Jan 13, 2016 at 10:23:17PM +0530, Shriramana Sharma via Digitalmars-d-learn wrote: > Referring to: > https://auto-tester.puremagic.com/show-run.ghtml?projectid=1&runid=1915054&isPull=true, > the lines in question are > phobos/std/utf.d (66, 67): > > UnsignedStringBuf buf = void

Compiler complaining about ~ used on static array in @nogc fn

2016-01-13 Thread Shriramana Sharma via Digitalmars-d-learn
Referring to: https://auto-tester.puremagic.com/show-run.ghtml?projectid=1&runid=1915054&isPull=true, the lines in question are phobos/std/utf.d (66, 67): UnsignedStringBuf buf = void; msg ~= " (at index " ~ unsignedToTempString(index, buf, 10) ~ ")"; rgrepping through the drun