[Issue 4543] Regression(1.054, 2.038) typedef circular definition and segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 24 12:28:23 PDT 2011


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


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #926 is|0                           |1
           obsolete|                            |


--- Comment #11 from Iain Buclaw <ibuclaw at ubuntu.com> 2011-03-24 12:24:59 PDT ---
Created an attachment (id=934)
issue4543

Attached fix for this issue.

Formal testcase:
=== a4543.d ===
import b4543;

class bclass {};
typedef bclass Tclass;

struct bstruct {}
typedef bstruct Tstruct;

=== b4543.d ===
import a4543;

class A {
    struct {
        Tclass a;
        Tstruct b;
    }
    union {
        Tclass c;
        Tstruct d;
    }
}

struct B {
    struct {
        Tclass a;
        Tstruct b;
    }
    union {
        Tclass c;
        Tstruct d;
    }
}

-- 
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