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/sh
After a long fiddling with a code that won't compile I've got
this test case:
```D
struct Foo {
this(ref return scope Foo rhs) {}
~this() {}
}
struct Bar {
@disable this(this);
Foo[2] foos;
}
extern (C)
void main() {}
```
When built with `-betterC` switch (dmd as ldc2 works wi