Probably trivial, but VERY frustrating compiler bug

Adam D. Ruppe destructionator at
Thu Aug 13 22:43:03 UTC 2020

On Thursday, 13 August 2020 at 22:33:04 UTC, H. S. Teoh wrote:
> Well, Phobos has a unittest in std.format that relies on the 
> exact output of .stringof.

yeah stringof should NEVER be used for anything other than 
diagnostics intended for a human reader along with other info... 
its exact format is undefined!

> Come to think of it, maybe we should just kill that unittest 
> with fire.

tbh any unittest that tests specific strings is probably suspect.

More information about the Digitalmars-d mailing list