www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - deprecated alias used without deprecation error

The deprecated attribute of alias statements is beeing ignored.
This code compiles without warning:
# int a;
# deprecated alias a b;
# int c = b;

test cases:
svn://svn.kuehne.cn/dstress/nocompile/deprecated_11.d
svn://svn.kuehne.cn/dstress/run/deprecated_12.d
svn://svn.kuehne.cn/dstress/run/deprecated_13.d

Thomas
Oct 31 2004