kikito / middleclass

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

No __len metafield usable. #6

Closed bartbes closed 13 years ago

bartbes commented 13 years ago

Title says it all.

kikito commented 13 years ago

Hi!

Middleclass is lua-5.1-oriented for now. Lua 5.1 doesn't honor the __len metamethod.

Once lua 5.2 is out, I'll consider including it (I'll probably wait until LÖVE includes Lua 5.2, too)

bartbes commented 13 years ago

Alright, I was indeed disappointed to see it wasn't used. (I blame you, reference manual!)