http://d.puremagic.com/issues/show_bug.cgi?id=6572
Iain Buclaw <ibuc...@ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuc...@ubuntu.com --- Comment #3 from Iain Buclaw <ibuc...@ubuntu.com> 2011-08-29 10:01:12 PDT --- *sadface* I think it is better to catch this in the parser stage, rather than semantic. --- Dsymbols *Parser::parseDeclarations --- if (tok == TOKtypedef) + { + if (!global.params.useDeprecated) + error("typedef is deprecated, use alias"); v = new TypedefDeclaration(loc, ident, t, init); + } Regards Iain -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------