[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc3) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 27 Jun 2011 16:48:57 -0300
> > =string.abc
> stdin:1: no field 'abc' in strings
> stack traceback:
> [C]: in function '__index'
> stdin:1: in main chunk
> [C]: in ?
>
> Wouldn't it be better to return nil rather than raise an error?
http://lua-users.org/lists/lua-l/2011-06/msg00629.html
--> http://lua-users.org/lists/lua-l/2011-06/msg00718.html
-- Roberto