[Issue 16058] `immutable delegate()` and `immutable delegate() immutable` are considered equal but treated differently

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 23 23:46:24 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16058

Eyal Lotem <eyal.lotem at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eyal.lotem at gmail.com

--- Comment #1 from Eyal Lotem <eyal.lotem at gmail.com> ---
I think it makes sense for the types not to be considered equal.
(Head-mutable ptrs to immutable data exist, so why should delegates be
inconsistent?)

--


More information about the Digitalmars-d-bugs mailing list