Re: errors needs to be tostring()'d
[
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: 2011年11月19日 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.