[Issue 11190] DMD segfaults in template resolution with "alias this"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 7 10:25:58 PDT 2013


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



--- Comment #1 from blm768 at gmail.com 2013-10-07 10:25:57 PDT ---
This (somewhat less strange) example also makes DMD segfault at the same place:

struct SomeStruct(T) {
    T _value;
    alias _value this;
}

void doSomething(T: ulong)() {
    assert(false);
}

void doSomething(T: string)() {
    assert(false);
}

void doSomething(T: SomeStruct!T)() {
    assert(false);
}

pragma(msg, doSomething!(SomeStruct!ulong)());

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