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



--- Comment #2 from Witold Baryluk <bary...@smp.if.uj.edu.pl> 2009-11-18 
20:40:53 PST ---
slightly smaller file1.d:

file1.d:
--------
class E {}

class F(alias s) {
    void zz() {
        s.toHash();
    }
}


void main() {
    scope e = new E(); // line 11
    auto f = new F!(e)();
}
--------

$ dmd2 file1.d file2.d
file1.d(11): Error: variable file1.main.e has scoped destruction, cannot build
closure
Internal error: e2ir.c 725
$

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

Reply via email to