[Issue 9289] [Regression 2.061] Had been deprecated language features are enabled again in default

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 21 03:32:50 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9289



--- Comment #9 from Leandro Lucarella <leandro.lucarella at sociomantic.com> 2013-01-21 03:32:36 PST ---
I don't see why language features should be treated differently. The only
problem I see right now is deprecated features are not being warn when gagging
(I think that's the term for when errors are silent to evaluate something at
compile time that is OK to fail, like tratis(compile) or static if's). I think
usage of deprecated features there should trigger a warning too. If the idea
behind some of this construct is just to test if an old feature is still
working, maybe that should be fixed and "calculated" through the compiler's
version or something like that.

If we keep deprecated language features as errors by default, we will end up
with the exact same problem we had before making deprecations as warnings the
default. Why would we want to do that?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list