dibyendumajumdar/ravi

The result of # operator may not be in integer

Closed this issue · 1 comments

Currently Ravi's code generator assumes that #operator returns an integer value, but if user has set a metamethod for __len the operator# might return a non-integer value. This issue came to light when testing lpeg, which redefines #operator to return userdata objects.

Fixed in 0.23