[Issue 16015] New: 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
Wed May 11 05:31:17 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16015
Issue ID: 16015
Summary: Sometimes importing a module both top-level and in a
version(unittest) block causes some method overrides
to be hidden
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: meapineapple at gmail.com
See http://forum.dlang.org/post/uaxbzdfcgapcnbelcwho@forum.dlang.org
Attempts to reproduce this error more concisely have been unsuccessful, either
the redundant imports resolve without error (e.g. import some_module
duplicated) or the compiler gives an error like "Error: alias
some_module.some_struct conflicts with alias some_module.some_struct" (e.g.
import some_module : some_struct duplicated). In short - both of those errors
are sensible and I haven't been able to pin down what caused the different
behavior in the code given in the linked post.
--
More information about the Digitalmars-d-bugs
mailing list