www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14723] New: Typeinfo sent to GC does not retain storage class

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 puremagic.com
          Reporter: rsw0x 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.

--
Jun 23 2015