Something wrong with reflection inside struct destructor
Jack Applegame via Digitalmars-d
digitalmars-d at puremagic.com
Tue Mar 14 06:38:52 PDT 2017
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.
More information about the Digitalmars-d
mailing list