[Issue 9315] New: ICE (expression.c:4249, StructLiteralExp::getField) Tupleof of nested struct literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 14 00:07:55 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9315
Summary: ICE (expression.c:4249, StructLiteralExp::getField)
Tupleof of nested struct literal
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: maxim at maxim-fomin.ru
--- Comment #0 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-01-14 00:07:54 PST ---
auto foo()
{
struct S
{
int i;
void bar() { }
}
pragma(msg, S.init.tupleof[$-1]);
}
void main()
{
}
dmd 2.061 (actually fresh from git head);
dmd: expression.c:4249: Expression* StructLiteralExp::getField(Type*, unsigned
int): Assertion `i < elements->dim' 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