deprecated alias

kris foo at bar.com
Fri Feb 16 20:44:54 PST 2007


Ary Manzana wrote:
> kris escribió:
> kris escribió:
> 
>> Syntactically, the compiler allows "deprecated alias foo bar;"  but 
>> the deprecated attribute is apparently ignored?
>>
>> Is this intentional?
> 
> 
>> Syntactically, the compiler allows "deprecated alias foo bar;"  but 
>> the deprecated attribute is apparently ignored?
>>
>> Is this intentional?
> 
> 
> As far as I know, *any* declaration (imports, typedefs, static asserts, 
> debug, version, etc.) allow *any* modifier. I don't know if it's 
> intentional, but at least that's the way the DMD parser works. I guess 
> this makes the parser faster than worrying about this things, but that's 
> just a guess.


Hehe ... just want to know if deprecated is intended to work with alias 
or not? And if so, can we expect a fix for it soon?

:)



More information about the Digitalmars-d mailing list