[Issue 16015] Sometimes importing a module both top-level and in a version(unittest) block causes some method overrides to be hidden

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu May 12 06:43:05 PDT 2016


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

b2.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com
           Hardware|x86_64                      |All
                 OS|Windows                     |All

--- Comment #4 from b2.temp at gmx.com ---
Also this doesn't happen when the import is not selective because then there's
no alias to the struct declared in the other module.

The problem is a very uninformative message, as you've noted, the conflict is
not detected when the struct declared in the second module is not a template.

--


More information about the Digitalmars-d-bugs mailing list