Re: [Flashcoders] compiler not warning (little rant)

2006-03-01 Thread Martin Wood
so why doesn't MMC complpain about that ? i this a legal statement ? i know 'o.arguments[1, 2, 3];' or equivalent would be, but i didn't write that. as far as the compiler is concerned you did write that because whitespace is ignored. e.g. : code : var x:Array = []; x [ 0

Re: [Flashcoders] compiler not warning (little rant)

2006-03-01 Thread Michael Stuhr
David Rorex schrieb: On 3/1/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: A/MMC does not warn before using this: var o = new Object(); o.arguments [1, 2, 3]; is this a statement or what ? and if so, what does it do, all i could see is undefined / null / not there fun to find this one in a

Re: [Flashcoders] compiler not warning (little rant)

2006-03-01 Thread David Rorex
On 3/1/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: > A/MMC does not warn before using this: > > var o = new Object(); > o.arguments [1, 2, 3]; > > is this a statement or what ? and if so, what does it do, all i could see is > undefined / null / not there > > > fun to find this one in a ~1 lin

[Flashcoders] compiler not warning (little rant)

2006-03-01 Thread Michael Stuhr
A/MMC does not warn before using this: var o = new Object(); o.arguments [1, 2, 3]; is this a statement or what ? and if so, what does it do, all i could see is undefined / null / not there fun to find this one in a ~1 lines project. micha _