SpaceTown-Developers / Lemon-Gate

Expression Advanced a Lua sub language.
Other
15 stars 5 forks source link

Array with just 1 value compiler error #194

Closed Orzlar closed 10 years ago

Orzlar commented 10 years ago
number[] A = numberArray(1,2,3) // works fine

number[] B = numberArray(1) // errors

Failed to compile native lua (LemonCompiler:54: unexpected symbol near '%') at line 54, char 1

anyone with this issue:

number[] B = numberArray();B:insert(1)

Rusketh commented 10 years ago

Can't reproduce on my local development copy, so i assume it will be fixed in the next commit.