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
There's no way to reference mixin method #43
Comments
I have a ready patch that allows addressing mixins methods like class methods (which I believe is quite natural). @netzpirat I need your opinion here before I modify the |
I've noticed that we use '?' sign to mark mixin-typed methods. This could be another solution for the referencer. |
Normal classes can have class and an instance method with the same name, thus we need the method prefix to distinguish them. However this is not the case for a mixin, since all methods are declared as instance methods. I have chosen the question mark for displaying the method signature to point out that we do not know whether the method will be used as class or instance method. I think we should allow all prefixes |
I agree that we should allow both types of prefixes. However I vote against |
Thats perfectly fine. Thanks a lot. |
Current implementation of
referencer
allows the.
and#
delimiters according to theclass
andinstance
methods. On the other side everything we receive from mixin is marked as amixin
method.Inside
referencer
we do search through mixins. However delimeter-type filters will always reject themixins
methods. So there's totally no way to reference to mixin method. And that's just wrong.The text was updated successfully, but these errors were encountered: