[Issue 3176] Out of Memory error on poorly formed recurrence function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 5 07:15:26 PDT 2009


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au




--- Comment #1 from Don <clugdbug at yahoo.com.au>  2009-08-05 07:15:26 PDT ---
Massively reduced test case:
----
struct C(T){
    ref T opIndex(size_t n) { T t; return t[0]; }
}

void foo(S...)(S u) {
    alias typeof(mixin("{ C!(void) a; return a[1;}()")) z;
}

void main() {
   foo!()(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