|
That's what I've been doing; the question is should nil have a> Use metatables. Accessing a key from any type which doesn't have a metatable
> for it besides a table is an error.
>
> Cheers,
>
> Andre
>
metatable to make __index return nil (and perhaps print a warning)?