[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.3.4 (rc3) now available
- From: Tim Hill <drtimhill@...>
- Date: Thu, 26 Jan 2017 22:17:39 -0800
> On Jan 25, 2017, at 6:14 AM, Dirk Laurie <firstname.lastname@example.org> wrote:
> 2017-01-25 2:44 GMT+02:00 Soni L. <email@example.com>:
>> On 24/01/17 10:37 PM, Daurnimator wrote:
>>> And I'm really enjoying the __name in tostring() output!
>> Uh. When do we start parsing tostring() output to figure out an object's
> We've been doing it for years for userdata, so it's nice that
> tables are also getting into line.
"Out of line” is more like it. Since when is parsing tostring() output a good way to get type information? As I’ve pointed out before, type() needs to respect an __type() metamethod.