[Issue 13628] Error: immutable method S.~this is not callable using a mutable object and vice versa
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 11 12:01:55 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=13628
Maxim Fomin <maxim-fomin at outlook.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |maxim-fomin at outlook.com
Resolution|--- |INVALID
--- Comment #2 from Maxim Fomin <maxim-fomin at outlook.com> ---
It is by design. You must make destructor immutable to call it for immutable
object. Closed as invalid.
--
More information about the Digitalmars-d-bugs
mailing list