Summary: (Regression 2.060) Assignment of function literal to
                    function pointer variable with non-D linkage broken
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Alex R´┐Żnne Petersen <> 2012-08-02 22:00:58 
CEST ---
This used to work in 2.059.

alexrp@alexrp ~/Projects/tests $ dmd test.d
test.d(8): Error: cannot implicitly convert expression (__lambda1) of type void
function() pure nothrow @safe to extern (C) void function()
alexrp@alexrp ~/Projects/tests $ cat test.d
alias extern (C) void function() Func;

void main()
    Func f;

    f = ()

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

Reply via email to