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: [email protected]
Reporter: [email protected]
```
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.
--
