[Issue 6713] Segfault with typeid of an alias

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 28 15:25:48 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6713


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2012-01-28 15:25:47 PST ---
The problem is this line:

    TypeInfo_Typedef td = cast(TypeInfo_Typedef)ti;

ti is a TypeInfo_Class. There is no TypeInfo_Alias, and an alias isn't a
TypeInfo_Typedef.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list