[Issue 19058] __traits(getUnitTests) stops working with separate compilation in dmd 2.081.0

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 6 10:49:42 UTC 2018


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

--- Comment #3 from Atila Neves <atila.neves at gmail.com> ---
I've taken a look at the code (I was trying to fix this). As mentioned before,
counters can never work. The solution will have to go through using the
absolute path of the location since the module doesn't "exist" until semantic.

This of course is redundant with respect to symbols colliding, because they
won't - they'll get mangled according to their modules.

I'd rather only see adding the absolute file path if there are any collisions
_and_ the identifiers are in the same module/filepath.

--


More information about the Digitalmars-d-bugs mailing list