Probably trivial, but VERY frustrating compiler bug

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Aug 13 22:14:15 UTC 2020


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

In a nutshell: the exact .stringof of certain function symbols changes
depending on which overload was processed first.  From what I can tell,
it's caused by certain distinct function overloads having the same deco
in the symbol table, so apparently some cache somewhere in the compiler
collides, and the overload that gets processed first will take
precedence.

It's most likely a trivial fix, but it has been at least 3 years since
the problem cropped up, and it has been blocking at least 2 Phobos PRs:

https://github.com/dlang/phobos/pull/5797
https://github.com/dlang/phobos/pull/7556

The lack of progress has been very frustrating, to say the least, so I'm
raising a stink here to see if somebody will do something about it. (I
would, but I've already spent enough of my very limited free time trying
to push through a trivial Phobos change, only to end up having to track
down an obscure problem that has nothing to do with the fix in the first
place.)


T

-- 
MSDOS = MicroSoft's Denial Of Service


More information about the Digitalmars-d mailing list