lua-users home
lua-l archive

Re: Changing string metatable

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


Sam Roberts wrote:
I suspect the behaviour is as intended, and that this is a doc bug,
unfortunately, or else somewhere else in the refman there are a few
crucial words that would make it clear that this is not expected to
work.
Sam
Thanks Sam, Rici, for the help. I started to re-read the refman this morning to see if I find something that clarifies this. It seems that a little clarification should be done in the manual. Anyway, I'll go with Rici's suggestion. __eq metamethod would have saved me the pain of going through all my code looking for =='s, though :)
Regards,
Ignacio Burgueño

AltStyle によって変換されたページ (->オリジナル) /