[Issue 14723] New: Typeinfo sent to GC does not retain storage class information

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 23 08:09:27 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14723

          Issue ID: 14723
           Summary: Typeinfo sent to GC does not retain storage class
                    information
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: rsw0x at rsw0x.me

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.

--


More information about the Digitalmars-d-bugs mailing list