Something wrong with reflection inside struct destructor

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 14 07:33:49 PDT 2017


On Tuesday, 14 March 2017 at 13:38:52 UTC, Jack Applegame wrote:
> On Tuesday, 14 March 2017 at 12:44:16 UTC, Jack Applegame wrote:
>> Workaround:
>> Avoid reflection in the destructor. Do reflection in normal 
>> function and then call it from destructor.
>
> This doesn't work - https://dpaste.dzfl.pl/5a1d93f7a277
> Call from destructor changes compiler behavior. This is 
> terrible.

bug report?


More information about the Digitalmars-d mailing list