Exactly as the title says. It seems all typeinfo sent is just part of the TypeInfo_Pointer or TypeInfo_Class class and never allocated as TypeInfo_Shared TypeInfo_Invariant TypeInfo_Const etc.
This makes it impossible to obtain information about the storage class of the requested allocation.
Comment #1 by dlang-bugzilla — 2017-07-02T22:51:45Z
This looks like a very simple fix.
In Druntime, in rt.lifetime, in _d_newitemU, change:
auto blkInf = GC.qalloc(size, flags, ti);
to:
auto blkInf = GC.qalloc(size, flags, _ti);
If you still would like this changed, please submit a PR.
Comment #2 by robert.schadek — 2024-12-07T13:35:24Z