lua-users home
lua-l archive

Re: __index returns truncated to one, why?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


 local a, b, c = t[1]...
No, it's meant to turn "return (h(table,index))" into "return h(table,index)"
I'm sorry, but I still don't see why it is so important to
throw away any values here. Why is __index it in 2.4 defined to
 return (h(table,index))
instead of just
 return h(table,index)
which I'd find good uses for.

AltStyle によって変換されたページ (->オリジナル) /