[Issue 3180] Covariance of delegates/function pointers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 8 22:58:39 PDT 2011


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|spec                        |patch, rejects-valid
                 CC|                            |yebblies at gmail.com
            Summary|Need delegate covariance    |Covariance of
                   |and contravariance          |delegates/function pointers
           Severity|enhancement                 |normal


--- Comment #6 from yebblies <yebblies at gmail.com> 2011-06-08 22:54:07 PDT ---
The enhancement portion of the original report is a dupe of Issue 3075, which
has been marked INVALID by Walter.

In the comments he states that delegate covariance is supposed to work, so that
part of the report is definitely a bug.

https://github.com/D-Programming-Language/dmd/pull/96 
should fix this report for function pointers.

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