D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.

Issue 7755

Summary: regression(2.059head): ICE in glue.c
Product: D Reporter: timon.gehr
Component: dmdAssignee: No Owner <nobody>
Status: RESOLVED FIXED
Severity: regression CC: bugzilla
Priority: P2 Keywords: ice, pull
Version: D2
Hardware: All
OS: All

Description timon.gehr 2012年03月23日 12:23:56 UTC
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
Comment 1 Kenji Hara 2012年03月24日 07:13:27 UTC
https://github.com/D-Programming-Language/dmd/pull/835 
Comment 2 github-bugzilla 2012年03月24日 17:00:35 UTC
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/88448e2f720898a68e823e89f1b4212d78b1bf2b
fix Issue 7755 - regression(2.059head): ICE in glue.c
https://github.com/D-Programming-Language/dmd/commit/7aacfafb3efc4ec11dbe117242cd5de2df764095
Merge pull request #835 from 9rnsr/fix7755
Issue 7755 - regression(2.059head): ICE in glue.c

AltStyle によって変換されたページ (->オリジナル) /