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

           Summary: toir.c Internal error
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-01-28 14:06:07 PST ---
void foo(alias f)() {
    foo!f();
}
void bar() {
    foo!({})();
}
void main() {
    void spam() {
        bar();
    }
}


Compiling it in -release with dmd 2.051 gives:
Internal error: toir.c 190

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

Reply via email to