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" <[email protected]> wrote in message 
news:[email protected]...
>> 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 <[email protected]>
>
> 


Reply via email to