lua-users home
lua-l archive

Re: __eq in shared metatables

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


> Is there any reason why __eq is not called when the metatable is shared for a
> type other than table and userdata?
> 
> [...]
> > print(3==4)
> false
Isn't this reason enough?
-- Roberto

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