kikito / middleclass

Object-orientation for Lua
https://github.com/kikito/middleclass
MIT License
1.77k stars 190 forks source link

Should __eq meta method not set in middleclass? #32

Closed xpol closed 9 years ago

xpol commented 9 years ago

Currently __equal meta method is set in middleclass.

User must implement __eq meta method when they actually needs raw table address compare.

Shall we just leave __eq unset?

kikito commented 9 years ago

Hi there, I have released a new version of middleclass (3.2.0) which should fix this issue, thanks to @mpeterv !