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


Austin Hastings <ah0801...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ah0801...@yahoo.com


--- Comment #2 from Austin Hastings <ah0801...@yahoo.com> 2010-10-23 23:58:39 
PDT ---
I stumbled into this problem with a struct having an immutable member.

Apparently, any kind of const-ness taints the struct, which prevents calling
the destructor. 

In my case, declaring the destructor const/immutable didn't help. :(
Apparently, you can't have struct with immutable members as an "in" parameter,
since that does the "const scope" thing, which triggers the destructor, which
causes the failure.


Also: the "const ~this()" syntax works, but "~this() const" does not, which
seems odd since it works for other method names.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to