Overriding is not working for me
schultz9999 opened this issue · comments
Dmitry Shulga commented
First of all - awesome library. One problem: I copied sample code from your page and run it. Unfortunately override for Animal:__tostring is not being picked up. I called print(Garfield) and it returns "a Cat", which is incorrect. (I wrongly closed it -- sorry).
Dmitry Shulga commented
I think I got it -- if I moved overrides right after class definition and it worked.