http://d.puremagic.com/issues/show_bug.cgi?id=6572
--- Comment #4 from yebblies <yebbl...@gmail.com> 2011-08-30 12:42:31 EST --- (In reply to comment #2) > Shouldn't we provide a complete library based typedef first? > http://d.puremagic.com/issues/show_bug.cgi?id=5467 Maybe, probably. (In reply to comment #3) > *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 Wouldn't this prevent using typedef even inside version(none) etc blocks? Is that something we want? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------