CommandHelper

CommandHelper

46.5k Downloads

array(function()['index']: 'value') --> "Mismatched square brackets" on compile

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2712 - Reported by opoq

Adding a space (array(function()['index'] : 'value')) "fixes" this, but mean old LadyCailin says it's a bug and you're not supposed to dynamically create indices during array creation. Something about hating happiness, blah blah, puppies.

commented

Comment by LadyCailin

This is still a bug on your part, but the error message is much better now, and the error message shows up on the correct line.