lua-users home
lua-l archive

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


On 18 August 2015 at 16:03, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2015-08-17 21:22 GMT+02:00 Petite Abeille <petite.abeille@gmail.com>:
>
>>> On Aug 17, 2015, at 9:15 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>>>
>>> But it won't work as expected when str1 and str2 both
>>> are convertible to numbers.
>>
>> LUA_NOCVTN2S
>> LUA_NOCVTS2N
>
> Who on this list invokes "lua", their everyday Lua interpreter,
> and what gets executed is Lua 5.3 compiled with those two
> options on? Put up your hands, please.

I have LUA_NOCVTS2N on; string to number coercion is almost always a bug.

LUA_NOCVTN2S causes enough issues I don't have time to deal with it.