[Issue 6759] missing initialization in foreach with alias this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 5 12:04:54 PDT 2011


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



--- Comment #3 from dawg at dawgfoto.de 2011-10-05 12:04:09 PDT ---
(In reply to comment #1)
> Your patch was already merged (commit: f53ff46), and it looks correct to me the
> fixing lack of merging prelude before semantic.
> 
> But, your sample code works before merging (commit: 07f719e), so that code is
> not test case of this issue.
> 
> Do you have right test case?

This is probably due to constant folding or optimization.
The merged version has 'assert(e == 0);' in the loop body.

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