[Issue 4338] Structs with non-const destructors cannot be used as const parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 21 06:24:43 PDT 2011


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k.hara.pg at gmail.com


--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2011-06-21 06:19:56 PDT ---
Now this issue is temporary fixed by calling mutable dtor from const object.

See change of declaration.c and Walter's comment.
https://github.com/D-Programming-Language/dmd/commit/aef37eb0c8986a508ccf185286465b4cbef8a066#L1R1721

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


More information about the Digitalmars-d-bugs mailing list