http://d.puremagic.com/issues/show_bug.cgi?id=4312
--- Comment #3 from Rob Jacques <sandf...@jhu.edu> 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 main Not too sure if this is a separate issue or not. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------