--- Comment #3 from Rob Jacques <> 2011-05-26 19:27:18 PDT ---
I can confirm that non-nested function literals now compile. (i.e. the original
bug report) But nested function literals don't compile (DMD 2.053):

void main(string[] args) {
    int b;
    writeln(  (ReturnType!( function(int a){return a+b;} )).stringof );

Error: function hello.main.__funcliteral1 cannot access frame of function D

Not too sure if this is a separate issue or not.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to