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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au
            Summary|"Internal error: e2ir.c     |ICE(e2ir.c): using alias
                   |725", after scoped error    |parameter after scope
                   |and processing inrevelant   |closure error
                   |file.                       |


--- Comment #3 from Don <clugd...@yahoo.com.au> 2010-01-11 06:58:54 PST ---
Reduced test case shows that this is some form of memory corruption.
------
class A {}

struct F(alias g) {
  void e() {
      assert(g);
  }
}

void bzium(A a) {
    scope A b;
    F!(b) c;
    F!(a) d;
}
----
file2.d(10): Error: variable file2.bzium.b has scoped destruction, cannot build
closure
Internal error: e2ir.c 739

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

Reply via email to