On Friday, 23 July 2021 at 20:24:02 UTC, Jim wrote:

What is the problem here? Should I not call `destroy`? If so, what should I call instead?

The problem is that you've marked main as `@nogc`, and `destroy` is not `@nogc`. Remove the annotation from main and it will compile.

Reply via email to