[Issue 7207] New: Explicit cast should resolve lambda type
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jan  2 21:48:53 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7207
           Summary: Explicit cast should resolve lambda type
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2012-01-02 21:48:52 PST ---
Tested with DMD 2.058head.
auto dg = cast(int function(int))(a)=>a;
Error: cannot cast __lambda2
The code should compile.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list