[Issue 3011] New: alias, typedef should have assignment syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 20 04:19:06 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3011

           Summary: alias, typedef should have assignment syntax
           Product: D
           Version: 2.027
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: dhasenan at gmail.com


alias and typedef should have assignment syntax to correspond with assignments
and renamed imports.

Whenever I see or want to write "alias a b", it takes some thinking to remember
what order the arguments should be in. If aliases worked as "alias newsymbol =
existingsymbol", it would be trivial to determine which symbol is new and which
it refers to.

Typedef has the same ugly syntax, so the same change should apply to it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list