D issues are now
tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Summary: |
regression(2.059head): ICE in glue.c |
Product: |
D
|
Reporter: |
timon.gehr |
Component: |
dmd | Assignee: |
No Owner <nobody> |
Status: |
RESOLVED
FIXED
|
Severity: |
regression
|
CC: |
bugzilla
|
Priority: |
P2
|
Keywords: |
ice, pull |
Version: |
D2 |
Hardware: |
All |
OS: |
All |
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