Fix __len metamethod ignored on tables
__len
metamethods only work on userdata currently. Without this patch the following script prints 3--the size of the table--instead of the value returned by the metamethod. len.lua
__len
metamethods only work on userdata currently. Without this patch the following script prints 3--the size of the table--instead of the value returned by the metamethod. len.lua