[Issue 15167] [REG2.069-devel] conflicting error with repeated alias declaration

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 8 05:44:28 PDT 2015


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

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Kenji Hara from comment #3)
> Because today, two different alias declarations aliasing an identical type
> are allowed if they're accessed beyond the import boundaries.

Identical symbol aliases are also allowed via imports. So, I think the
following case would also need to be supported.

int a15167;
alias Var15167 = a15167;
alias Var15167 = a15167;

void f15167() {}
alias Foo15167 = f15167;
alias Func15167 = Foo15167;
alias Func15167 = f15167;

--


More information about the Digitalmars-d-bugs mailing list