[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: errors needs to be tostring()'d
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 19 Nov 2011 12:08:37 -0200
> I would hope not. Why would error call the __tostring metamethod on an object?
The standalone interpreter prints the error message and this triggers
the __tostring metamethod.