[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available (number coercion holy crusade)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 24 Mar 2014 08:50:31 +0200
2014-03-24 6:54 GMT+02:00 <katlogic@katsystems.eu>:
> To nitpick myself, make that debug.getmetatable("").__tonumber :)
Since nitpicking is in order: the non-debug metatable will do fine here.
You only ever need debug.getmetatable when accessing a locked
metatable (i.e. one that has a __metatable field).