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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE(statement.c): blockExit |Regression(1.034):
                   |assertion failure           |ICE(statement.c): mixin in
                   |                            |bad foreach, D1 only
           Severity|normal                      |regression


--- Comment #4 from Don <clugd...@yahoo.com.au> 2010-08-14 13:14:47 PDT ---
This is D1-only. Reduced test case:

void bug4125() {
    foreach(k; s){
        mixin("");
    }
}
--------
test0.d(384): Error: undefined identifier s
test0.d(384): Error: cannot infer type for k
Statement::blockExit(00C17914)
mixin("");

Passed in 1.030, ICE in 1.034.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to