Thread overview
Crashes DMD - nested class
Jun 09, 2005
Derek Parnell
Jun 09, 2005
zwang
Jun 09, 2005
Derek Parnell
June 09, 2005
I know this is bad syntax, but it shouldn't crash the compiler.


class A
{
 class B
 {
 }
 B b = new B;
}
void main()
{
}

-- 
Derek
Melbourne, Australia
9/06/2005 4:27:09 PM
June 09, 2005
Derek Parnell wrote:
> I know this is bad syntax, but it shouldn't crash the compiler.
> 
> 
> class A
> {
>  class B
>  {
>  }
>  B b = new B;
> }
> void main()
> {
> }
> 

already reported by Jarrett four hours ago.
June 09, 2005
On Thu, 09 Jun 2005 14:53:33 +0800, zwang wrote:

> Derek Parnell wrote:
>> I know this is bad syntax, but it shouldn't crash the compiler.
>> 
>> class A
>> {
>>  class B
>>  {
>>  }
>>  B b = new B;
>> }
>> void main()
>> {
>> }
>> 
> 
> already reported by Jarrett four hours ago.

LOL...and who says I'm slow. I didn't notice that one at all.

-- 
Derek
Melbourne, Australia
9/06/2005 5:02:00 PM