[Issue 8988] Segfault with circular derived class template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 10 00:57:22 PST 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Segfault in tricky CTFE     |Segfault with circular
                   |scenario                    |derived class template


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-12-10 00:57:21 PST ---
Not related to CTFE, also applies to D1. Bit hard to describe.
Reduced test case:
----

template Bug8988(T)
{
    alias Object xxx;
    alias typeof( A8988.init.foo) zzz;
}

class A8988 : Bug8988!(A8988).xxx
{
    alias int foo;
}

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