On Saturday, 22 August 2026 at 09:28:02 UTC, Nick Treleaven wrote:
There's no need to `@disable this();` for a class with a defined constructor,
Right - I was just doing that to shorten my example a bit; your version with the struct is basically what I was doing when I encountered the problem.
The delegating constructor is a good workaround, thank you!And thanks to both of you for responding. I will make a bug report about this later today.
