[Issue 7755] New: regression(2.059head): ICE in glue.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 23 12:23:37 PDT 2012


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

           Summary: regression(2.059head): ICE in glue.c
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch


--- Comment #0 from timon.gehr at gmx.ch 2012-03-23 12:23:56 PDT ---
The following code causes an ICE in DMD 2.059head. It compiles with DMD 2.058.

---
import std.conv: to;

template Foo(T){}
struct Bar{
    void qux(){
        if(is(typeof(to!string(Foo!int)))){};
    }
}
---

dmd: glue.c:1114: virtual unsigned int Type::totym(): Assertion `0' failed.
Aborted

-- 
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