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

           Summary: Regressions in DStress caused by changeset 452
           Product: D
           Version: 1.057
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: siegelords_ab...@yahoo.com


--- Comment #0 from siegelords_ab...@yahoo.com 2010-09-05 09:14:10 PDT ---
Changeset 452 that was used to solve bug 2935 causes 4 regressions in the
DStress test suite. The tests that now fail are the following:

run/l/lazy_02_A.d
run/l/lazy_02_B.d
run/l/lazy_02_C.d
run/l/lazy_02_D.d

The first one, for example is:

bool nextis(void delegate() dgpositive = {}) {
    return true;
}

bool looping(lazy bool condition) {
    return true;
}

int main() {
    looping(nextis());
    return 0;
}

and when compiled with DMD1.063 yields:

test.d(1): Error: cannot inline default argument __dgliteral1

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

Reply via email to