www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3011] New: alias, typedef should have assignment syntax


           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 digitalmars.com
        ReportedBy: dhasenan 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: -------
May 20 2009