[Issue 7432] DMD allows variables to be declared as pure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 26 17:43:03 PDT 2012


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



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-26 17:43:00 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> 
> > I don't know whether the front-end makes any difference between declarations in
> > attribute blocks and those who have a direct attribute in one statement. If
> > not, it's probably not fixable without breaking code.
> 
> Moving the variable out of that block should be harmless :-) Automatic testing
> is there for similar purposes.

Yes but there's no telling how much more code it would break.

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