http://d.puremagic.com/issues/show_bug.cgi?id=5038
--- Comment #7 from Don <[email protected]> 2013-01-17 01:28:22 PST --- (In reply to comment #6) > (In reply to comment #5) > > The deprecation page lists it as deprecated since 2.057, but the Error and > > Gone > > dates are empty. I'm not sure what the plan is, but I doubt there's any > > *compilable* D2 code out there that actually uses invariant instead of > > immutable. I am 100% sure that is true. 'invariant' only meant 'immutable' for a very short period of time, when hardly anyone was using D2, and when D2 was completely experimental and not seriously usable. > > The general idea is to leave at least six months between deprecation stages. > The version numbers are missing because there is no fixed release schedule, > and > no guarantee the change would be pulled in time to match any projected date. Well, this is a very strange situation. invariant without parentheses is LEGAL IN D1! When converting D1 code to D2, you get this nonsense deprecation message asking you to use immutable instead. We have existing production code which uses invariant without parentheses! We should make it legal again. This would be an undeprecation, which AFAIK has never happened before in D. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
