Summary: [CTFE] global static function and delegate literals
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-01-15 09:46:39 PST ---
the following code should compile:
auto a = (int x)=>x+1;                    // fail                               
auto b = function(int x)=>x+1;         // fine                                  
struct Foo {int function(int) f;}
auto s = Foo(function(int x)=>x+1); // fail

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

Reply via email to