[Issue 4135] Regression(1.034): ICE(statement.c): mixin in bad foreach, D1 only

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 14 13:14:49 PDT 2010


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


Don <clugdbug at 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 <clugdbug at 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: -------


More information about the Digitalmars-d-bugs mailing list