January 21, 2011 [Issue 5471] New: Delegates with qualified value params can't be implicitly cast | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: eatingstaples@gmail.com --- Comment #0 from eatingstaples@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: ------- |
June 16, 2011 [Issue 5471] Delegates with qualified value params can't be implicitly cast | ||||
---|---|---|---|---|
| ||||
Posted in reply to eatingstaples@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=5471 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies@gmail.com Resolution| |DUPLICATE --- Comment #1 from yebblies <yebblies@gmail.com> 2011-06-15 23:36:12 PDT --- This is delegate contravariance, and is not going to happen. *** This issue has been marked as a duplicate of issue 3075 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation