[Issue 4090] No foreach type inference with const, ref etc modifiers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 04:49:56 PDT 2012


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



--- Comment #6 from bearophile_hugs at eml.cc 2012-10-28 04:49:53 PDT ---
But this program compiles with no errors, do you want me to reopen this issue?


void main() {
    foreach (const i; 0 .. 10)
        i++;
}

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