lua-users home
lua-l archive

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


On Mon, Apr 7, 2014 at 3:06 PM, Thiago L. <fakedme@gmail.com> wrote:
> That doesn't mean newproxy doesn't have any use... __rawset and __rawget
> metafields (to be used as error messages) would make newproxy useless...

Hm, to have new metamethods for these corner cases seems overkill.  I
still don't understand the problem: if you're paranoid, then sandbox
user scripts - you have full control.

newproxy was useful in 5.1 because we couldn't attach a __gc
metamethod to a table.