deprecated alias

Ary Manzana ary at esperanto.org.ar
Fri Feb 16 14:59:29 PST 2007


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.



More information about the Digitalmars-d mailing list