digitalmars.D.bugs - [Issue 14557] New: Check typedef usage at semantic stage
- via Digitalmars-d-bugs (21/21) May 07 2015 https://issues.dlang.org/show_bug.cgi?id=14557
https://issues.dlang.org/show_bug.cgi?id=14557 Issue ID: 14557 Summary: Check typedef usage at semantic stage Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: public dicebot.lv ``` version (none) typedef int MyInt; ``` sample.d(2): Error: use alias instead of typedef This is somewhat unexpected and makes impossible having D1 and D2 code versions in the same module. --
May 07 2015