[Issue 14838] [REG 2.066] Wrong attribute inference for auto-generated class destructor with static array of non-POD type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 29 03:45:20 PDT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Martin Nowak from comment #3)
> The problem is the TypeInfo.destroy call in buildDtor [¹].
> We need to replace it with an attribute correct replacement.
> 
> [¹]:
> https://github.com/D-Programming-Language/dmd/blob/
> 3b82f08badcafc7cf373be2182f4b3f5eb5db3b9/src/clone.c#L931

Yes. I had missed that in the PR 3301.

https://github.com/D-Programming-Language/dmd/pull/4845

--


More information about the Digitalmars-d-bugs mailing list