lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Nov 17, 2010, at 6:02 PM, Luiz Henrique de Figueiredo wrote:

> All feedback welcome. Thanks.

Not sure when the change was made, but I noticed that Lua 5.2.0 allows the following syntax:


Before, in 5.1, this would have resulted in an exception:

ambiguous syntax (function call x new statement) near '('

Is that change on purpose? Or accidental?

I personally like it as it allows one to indent the function parentheses the only way Nature intended! :P