On Tuesday, 23 January 2018 at 21:53:24 UTC, Steven Schveighoffer wrote:

Interestingly, `destroy` is an unsafe operation for classes.

Because it's calling a @system function, rt_finalize. This function calls whatever is in the destructor, and because it works on Object level, it has no idea what the actual attributes of the derived destructor are.

This needs to be fixed, but a whole host of issues like this exist with Object.

Are there any bugzilla issues that you are aware of that document this?

Mike

Reply via email to