[Issue 8295] Struct member destructor can not be called from shared struct instance

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 12 09:37:18 PST 2016


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

weaselcat <r9shackleford at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r9shackleford at gmail.com

--- Comment #4 from weaselcat <r9shackleford at gmail.com> ---
dmd 2.070
Error: non-shared method f642.bar.~this is not callable using a shared object

marked two issues as duplicates that are caused by the same problem/require the
same fix(AFAICT)

on topic:
a shared destructor doesn't really make sense at all, shouldn't shared objects
just have unshared destructors?

--


More information about the Digitalmars-d-bugs mailing list