We need to reserve vtable slot -1 and insert the C++ typeinfo when generating extern(C++) classes.
I would really like this as well. To be able to inspect the dynamic type in the debugger. This applies to all platforms. Seems to be a problem with LDC as well.
I think this is actually a severe issue and should be fixed urgently. It tends to crash debuggers instantly.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19438 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB