This is not a bug, but a optimization feature. It has already be discussed in that thread [1] The answer from Roberto [2] is that this hack enables to use the same machinery for all metamethods. [1] http://lua-users.org/lists/lua-l/2010-10/msg00783.html [2] http://lua-users.org/lists/lua-l/2010-10/msg00799.html