[Issue 5471] New: Delegates with qualified value params can't be implicitly cast

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 21 06:57:49 PST 2011


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

           Summary: Delegates with qualified value params can't be
                    implicitly cast
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: eatingstaples at gmail.com


--- Comment #0 from eatingstaples at gmail.com 2011-01-21 06:55:47 PST ---
Created an attachment (id=873)
Code demonstrating the problem.

Delegates with value-type parameters which are qualified with things like const
or immutable can't be cast to delegates which have the same parameters, but
differently-qualified. Function pointers do not have this problem.

-- 
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