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



--- Comment #4 from Don <clugd...@yahoo.com.au> 2010-11-23 01:25:27 PST ---
Further reduced. Shows it is caused by an closure passed as an alias parameter,
+ a struct with initialized members. If you remove the '=7', it won't crash.

----
struct Map5064(alias fun)
{
    int xxx = 7;
    void crash() {
       fun();
    }
}

void bug5064()
{
   void delegate() dg = (){ };

   Map5064!( dg ) q;
   q.crash();
}

void main()
{
    bug5064();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to