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

           Summary: cannot implicitly convert delegate to const(delegate)
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: necrom...@gmail.com


--- Comment #0 from Max Klyga <necrom...@gmail.com> 2011-04-23 12:35:10 PDT ---
void main() {
    void function() a;
    void delegate() b;
    const (void function()) c = a; //ok
    const (void delegate()) d = b; //error
}

This behavior breaks std.algorithm.move, which makes std.container not work
with delegate types.

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

Reply via email to