Re: Did they mean "." or ":"?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Did they mean "." or ":"?
- From: Mark Hamburg <mark@...>
- Date: 2010年2月17日 08:21:12 -0800
This discussion is also a point to bring up the separate namespace for methods/__methods metatable entry etc discussion. It would result in the lookup failing when using "." rather than ":" and one could associate an __index metamethod that checked to see whether the key really referenced a method and generate an appropriate error.
Mark