www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12257] New: Alias declaration grammar spec

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12257

           Summary: Alias declaration grammar spec
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: callumenator gmail.com


--- Comment #0 from callumenator gmail.com 2014-02-25 16:04:52 PST ---
http://dlang.org/grammar.html#AliasDeclaration

Spec allows:

AliasDeclaration:
    alias BasicType Declarator

However DMD allows storage class before the type, e.g.:

alias ref int MyRefInt;

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 25 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12257


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-02-25 17:28:29 PST ---
*** This issue has been marked as a duplicate of issue 11396 ***

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