[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Possible bug with statement parsing?
- From: Shmuel Zeigerman <shmuz@...>
- Date: Sat, 23 Jun 2007 09:16:34 +0200
Patrick Donnelly wrote:
That produces an error:
4: attempt to call a nil value
It seems to be a run-time error, while I get a compile-time error with
the same code (both with Lua 5.1 and 5.0):
> lua: test1.lua:4: ambiguous syntax (function call x new statement)
> near '('
The example can be simplified: