[Issue 5499] New: toir.c Internal error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 28 14:08:19 PST 2011


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: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at 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: -------


More information about the Digitalmars-d-bugs mailing list