Skip to content

Fix __len metamethod ignored on tables

James R. requested to merge table-len-metamethod into next

__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

Merge request reports