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

--- Comment #0 from Max Klyga <> 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:
------- You are receiving this mail because: -------

Reply via email to