In the compiler we have Dsymbol.isDeprecated, is that not accessible in any way from code?
The only solution I can think of is compiling with -de and using __traits(compiles, {alias x = foo;})
which actually does seem to work. Pretty lousy though.
In the compiler we have Dsymbol.isDeprecated, is that not accessible in any way from code?
The only solution I can think of is compiling with -de and using __traits(compiles, {alias x = foo;})
which actually does seem to work. Pretty lousy though.