More array problems

Monkey Forums/Monkey Programming/More array problems

Gerry Quinn(Posted 2011) [#1]
Note: ignore the following, I will repost it as a bug. It's the white space between the square brackets that Monkey hates!


Can somebody explain what's going on here? When I try to compile, Monkey has no problem with the initialisation of b, but when it gets to the initialisation of a, it stops saying "unexpected token ]".

[I initially got this in a class where a was a declared field, but the following is the simplest example.]