lua-users home
lua-l archive

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


It should probably be noted that this sort of trick only works for classes
that don't expect to inherit any metamethods.

Is there a particular reason why metamethod search doesn't obey __index
links?

Mark

on 5/31/05 5:18 PM, Mike Pall at mikelu-0506@mike.de wrote:

> Ok, so here's how userdata handle inheritance works: