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

           Summary: cannot use template function literals at module scope
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: timon.g...@gmx.ch


--- Comment #0 from timon.g...@gmx.ch 2012-06-14 10:42:26 PDT ---
DMD 2.059:

auto exec(alias a,T...)(T as){return a(as);}
mixin exec!(x=>x, int); // error

The code should compile.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to