Ask for help about Internal error: e2ir.c 5007

Daniel Murphy yebblies at nospamgmail.com
Thu Jul 14 20:32:05 PDT 2011


No problem.  As I posted there, the workaround is to use a struct literal 
instead of a struct initializer.
eg.

void fun()
{
  struct nested { int a, b; void func() {} }
  nested x = { 1, 2 }; // doesn't work
  nested y = nested(1, 2); // works
}

"zhang" <bitworld at qq.com> wrote in message 
news:mailman.1644.1310669400.14074.digitalmars-d at puremagic.com...
>> If you trust me, dropping the dmd.exe I emailed you in place of your
>> existing one should give you a line number and file.
>
> Thanks for your dmd.exe. You are so kind.
> I got the error using it.
> I have filed a bug at here 
> http://d.puremagic.com/issues/show_bug.cgi?id=6317
> ----------
> Zhang <bitworld at qq.com>
>
> 




More information about the Digitalmars-d mailing list