[Issue 7091] ICE in Statement::blockExit

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 10 13:52:49 PST 2011


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



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2011-12-10 13:52:48 PST ---
More simple test code:
----
void main()
{
    int[] arr;
    foreach (x, i, v; arr)
    {
        mixin("");
    }
}

output:
----
test.d(4): Error: cannot infer type for i
test.d(4): Error: cannot infer type for v
Statement::blockExit(002B6810)
mixin("");

Assertion failure: '0' on line 144 in file 'statement.c'

abnormal program termination

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