--- Comment #5 from Rob Jacques <> 2011-05-27 06:46:29 PDT ---
I'm not defining a closure. I'm defining a nested function literal. And given
that the following compiles:

void main()
    int b;
    int funcliteral(int a){return a+b;}
    writeln(  (ReturnType!funcliteral).stringof );

I would also expect 

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

to work. But, as you pointed out, this isn't a problem with ReturnType anymore.

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

Reply via email to