Thread overview
A bug in 0.53
Feb 14, 2003
factory
Feb 14, 2003
Walter
Feb 15, 2003
factory
Feb 15, 2003
Walter
February 14, 2003
  Compiling the below code will cause the compiler to crash.
  I'm actually assuming that it's correct code too, am I right?

---

typedef int[] tint;

void Set( inout tint array, int newLength )
{
	array.length= newLength;
}

int main()
{
	return 0;
}



-- 
 - Factory, there is no X in my email.
February 14, 2003
Looks like a bug to me. I'll take care of it. -Walter


February 15, 2003
In article <b2johs$l04$1@digitaldaemon.com>, walter@digitalmars.com says...
> Looks like a bug to me. I'll take care of it. -Walter

  Oh and the following produces a rather strange error message:

---    

int[] def = { 1, 2, 3 };

int main()
{
	return 0;
}

-- 
 - Factory, there is no X in my email.
February 15, 2003
int[] def = [ 1, 2, 3 ];

should work. -Walter

"factory" <tehdasX@optushome.com.au> wrote in message news:MPG.18b88c60dc144b16989689@news.digitalmars.com...
> In article <b2johs$l04$1@digitaldaemon.com>, walter@digitalmars.com says...
> > Looks like a bug to me. I'll take care of it. -Walter
>
>   Oh and the following produces a rather strange error message:
>
> ---
>
> int[] def = { 1, 2, 3 };
>
> int main()
> {
> return 0;
> }
>
> --
>  - Factory, there is no X in my email.