[Issue 12615] New: Warn against, and then deprecate old alias syntax
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Apr 22 12:41:36 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12615
Issue ID: 12615
Summary: Warn against, and then deprecate old alias syntax
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: bearophile_hugs at eml.cc
Now we have the syntax:
alias T = int;
So this syntax should give a warning, later a deprecation message, and later an
error:
alias int T;
(The "alias this" syntax must be kept, it's for another purpose.)
--
More information about the Digitalmars-d-bugs
mailing list