ColonelThirtyTwo/Starfall — Issue #10: Improved Metamethod protection
Author: ColonelThirtyTwo
Created: 2011-11-16 23:27:15+00:00
State: open

Currently, methods and metamethods are stored inside of the same "class" table, and an __index check makes sure that __index is not exposed to the SF script. However, if the methods and metamethods tables were separated, the __index metamethod simply needs to point to the methods table, thus not exposing the metamethods to the SF scripts.