[Issue 14557] New: Check typedef usage at semantic stage

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu May 7 20:17:01 PDT 2015


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 at puremagic.com
          Reporter: public at 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.

--


More information about the Digitalmars-d-bugs mailing list