Re: [ANN] Lua 5.3.0 (work2) now available (number coercion holy crusade)
[
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: 2014年3月24日 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).