On Saturday, 6 November 2021 at 17:24:07 UTC, tchaloupka wrote:
When built with `-betterC` switch (dmd as ldc2 works with it).I get just: ``` Error: `TypeInfo` cannot be used with -betterC ``` Well imagine getting this useful info in a large codebase :/
Looks like https://issues.dlang.org/show_bug.cgi?id=20715
BetterC is great, but a bit of a minefield to use.
The blame might be more on copy constructors, here. This also fails:
https://issues.dlang.org/show_bug.cgi?id=20365