|
But that ignores my point: should the documentation say:The length of a table t is defined to be any integer index n such that rawget(t,n) is not nil and rawget(t,n+1) is nilrather thanThe length of a table t is defined to be any integer index n such that t[n] is not nil and t[n+1] is nil?
I'd say, unless # is changed to respect metamethods, yes.