[Issue 24113] Eager failure of TypeInfo in _d_newclassT even if not used in -betterC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 6 13:58:11 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24113
--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
I could not come up with a symbol that triggered it. Without the import, the
error went away, that is as close as I could get.
This is the project code:
https://github.com/Project-Sidero/basic_memory/commit/9acbcc1a91a5927aaa9a164ff65118be719f24b5
git clone & dub build
It'll exhibit it at that patch (I just verified it, by removing my version'd
out import patch from object.d).
```d
version(D_BetterC) {
} else {
public import core.lifetime : _d_delstructImpl;
public import core.lifetime : _d_newThrowable;
public import core.lifetime : _d_newclassT;
public import core.lifetime : _d_newclassTTrace;
public import core.lifetime : _d_newitemT;
}
```
--
More information about the Digitalmars-d-bugs
mailing list