New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected behavior with subclassing a class with the Apply mixin #3
Comments
Oh my. |
I haven't forgot about this one. I've started tracking down the issue, but so far the root cause evades me. I'm pretty sure that the problem is not on Apply itself, but on Callbacks, which is an Apply dependency. It's also the most problematic module inside middleclass-extras. I'll keep trying tomorrow. |
No worries, it looks like it's a tougher issue. I ran out of time looking at it tonight but I'll look at it some more tomorrow too. I think the issue has something to do with the class dictionary modification and method lookup done by the function Here's the output from the child class looking for the initialize function to call:
|
The "Commend and Close" button is too close to the "Comment" button... Reminds me of http://www.codinghorror.com/blog/2010/03/the-opposite-of-fitts-law.html :) Still working on this. |
re-wrote the way classes are modified in Callbacks. closed by 314d5df |
I think this is closed now. Please test and re-open if that's not the case. Sorry it took me so long to find the problem! |
It's fixed, thanks! No worries about the time it was a tough problem. Thanks for spending your free time working on this library, it's really useful. |
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
require 'test'
Parents Init.
The text was updated successfully, but these errors were encountered: