[Issue 3737] SEG-V at expression.c:6255 from bad code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 25 13:01:08 PST 2010


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



--- Comment #5 from Don <clugdbug at yahoo.com.au> 2010-01-25 13:01:07 PST ---
Reduced test case. Something to do with opDispatch.
======================
int crayon;

struct SIB(alias junk)
{
    template Alike(V) {
        enum bool Alike = Q == V.garbage;
    }
    void opDispatch(string s)() {
        static assert(Alike!(SIB!(crayon)));
    }
}

void main() {
      SIB!(SIB!(crayon).E)(3.0);
}

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