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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 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: -------