On 10/13/17 8:56 AM, Dgame wrote:
On Friday, 13 October 2017 at 12:08:00 UTC, Jack Applegame wrote:
On Friday, 13 October 2017 at 12:03:55 UTC, Dgame wrote:
Interesting. If you remove the CTor in Foo it works again.
If you remove DTor it works again too. :)

That's one of these times where it would be helpful to see the generated AST.

dmd has this feature: -vcg-ast.

I already have tried it, and looks like there is no call to the dtor that matches the output.

I think it's a bug in the compiler.

-Steve

Reply via email to