[Issue 11220] Regression in master: XXX__lambda2 cannot access frame of function XXX

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 10 20:39:06 PDT 2013


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



--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2013-10-10 20:39:04 PDT ---
And smaller still:

int parsePrimaryExpression(int x) {
    parseAmbiguous!( (parsed){ x += 1; } )();
    return 1;
}

typeof(handler(1)) parseAmbiguous(alias handler)() {
    return handler(parsePrimaryExpression(1));
}

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