[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Odd result from arithmetic with nil
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 10 Oct 2007 19:18:11 -0300
> I have some code that creates an object of a date type
> (very similar to the one from PIL) and then subtracts
> it from nil. I would expect this to raise the "attempt
> to perform arithmetic on a nil value" error, but it
> doesn't; instead, I get a result of nil. Does this
> make any sense?
Perhaps this is related to http://www.lua.org/bugs.html#5.1.2-2 ?
> I can post code if it would help.
Please do.