Probably trivial, but VERY frustrating compiler bug

Adam D. Ruppe destructionator at gmail.com
Thu Aug 13 22:20:19 UTC 2020


On Thursday, 13 August 2020 at 22:14:15 UTC, H. S. Teoh wrote:
> In a nutshell: the exact .stringof of certain function symbols 
> changes depending on which overload was processed first.

wait why the heck is it using .stringof at all? This inside dmd 
itself? I know it uses mangle toChars in places but the stringof 
thing should be for user diagnostics only, no internal use.

that might be the real bug perhaps it just called toChars when it 
should have called toMangle or whatever the function is called.


More information about the Digitalmars-d mailing list