www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10471] New: New alias syntax can't handle extern qualifiers

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

           Summary: New alias syntax can't handle extern qualifiers
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: temtaime gmail.com


--- Comment #0 from Temtaime <temtaime gmail.com> 2013-06-25 01:46:09 PDT ---
http://dpaste.1azy.net/993016d2

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 25 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10471


David <admin dav1d.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |admin dav1d.de


--- Comment #1 from David <admin dav1d.de> 2013-06-25 01:47:17 PDT ---
Code:

void main() {
    alias A = void function();
    alias B = extern(Windows) void function();
}


Error:

/d702/f46.d(3): Error: basic type expected, not extern
/d702/f46.d(3): Error: semicolon expected to close alias declaration
/d702/f46.d(3): Error: no identifier for declarator void function()


(Taken from dpaste 1:1)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 25 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10471


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-08-22
17:09:56 PDT ---
*** Issue 10873 has been marked as a duplicate of this issue. ***

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