Bug 10471 – New alias syntax can't handle extern qualifiers

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-25T01:46:00Z
Last change time
2014-06-09T06:50:03Z
Assigned to
nobody
Creator
temtaime

Comments

Comment #0 by temtaime — 2013-06-25T01:46:09Z
Comment #1 by admin — 2013-06-25T01:47:17Z
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)
Comment #2 by andrej.mitrovich — 2013-08-22T17:09:56Z
*** Issue 10873 has been marked as a duplicate of this issue. ***
Comment #3 by k.hara.pg — 2014-06-09T06:50:03Z
*** This issue has been marked as a duplicate of issue 12802 ***