http://d.puremagic.com/issues/show_bug.cgi?id=11075
Summary: ICE(struct.c) after gagged error in struct field initializer Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don <clugd...@yahoo.com.au> 2013-09-20 11:11:04 PDT --- This is a minor change to fail_compilation/ice9806.d from the test suite. struct S1() { int x = undefined_expr; } void test1() { static assert(!is(typeof(S1!().x))); static assert(!is(typeof(S1!().x))); } --- dmd: struct.c:787: virtual void StructDeclaration::semantic(Scope*): Assertion `type->ty != Tstruct || ((TypeStruct *)type)->sym == this' failed. Aborted I found this by enabling full validity checking in CTFE. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------