Summary: typeof(polymorphic lambda with template alias) is
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Haruki Shigemori <> 2010-06-15 06:38:29 
PDT ---
import std.stdio;

void func(alias fn)()
    writeln(typeid(typeof(fn)));// void, NG!!!

void main()
    int delegate(int) g;
    writeln(typeid(typeof(g)));// int delegate(), OK!

    writeln(typeid(typeof((int){return 1;})));// int delegate(), OK!

    func!((i){return 1;})();

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

Reply via email to