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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 6 20:02:35 PDT 2015


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Is there a compelling reason to allow:

   alias a = int;
   alias a = int;

? I can't think of one. The CARD64 example also looks like invalid code that
happened to be accepted.

--


More information about the Digitalmars-d-bugs mailing list