[Issue 11424] New: typedef on structs isn't caught
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 2 18:50:56 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11424
Summary: typedef on structs isn't caught
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-11-02 18:50:54 PDT ---
-----
typedef struct S { }
void main() { }
-----
$ dmd -w test.d
>
For comparison:
-----
typedef int I;
void main() { }
-----
$ dmd -w test.d
> test.d(1): Deprecation: use of typedef is deprecated; use alias instead
--
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