Thread overview |
---|
February 14, 2003 A bug in 0.53 | ||||
---|---|---|---|---|
| ||||
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 Re: A bug in 0.53 | ||||
---|---|---|---|---|
| ||||
Posted in reply to factory | Looks like a bug to me. I'll take care of it. -Walter |
February 15, 2003 Re: A bug in 0.53 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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 Re: A bug in 0.53 | ||||
---|---|---|---|---|
| ||||
Posted in reply to factory | 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. |
Copyright © 1999-2021 by the D Language Foundation