[Issue 9547] typeof() which requires .init must be properly documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 19 21:09:52 PST 2013


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



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-19 21:09:52 PST ---
(In reply to comment #2)
> This is bug fix for issue 6408. `T[0]` should be always analyzed as "zero
> length static array of T", but it was *accidentally* treated as T.init[0].

Yeah I had a vague memory of this being fixed recently. It's a good change.

> I can agree that some of proper bug fixes require clear explanation for better
> migration. We need to pay attention for them in beta phase, and document them.

For the upcoming 2.063 release I suggest we keep a special text file (e.g. a
local "changes" file in DMD git) where each language change is documented every
time such a pull request is merged. This will make sure we never forget to
document a language change (it is much harder to do this at the end when there
are 150+ bugs fixed).

-- 
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