Skip to content
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

How to handle super calls in trait code #14

Open
PragTob opened this issue Jan 12, 2013 · 1 comment
Open

How to handle super calls in trait code #14

PragTob opened this issue Jan 12, 2013 · 1 comment

Comments

@PragTob
Copy link
Collaborator

PragTob commented Jan 12, 2013

  • when we include a method and its corresponding super methods: rename super method _superClassNameMethodName and change call in method
  • when we only include a super method, but no overwriting subclass method: change super calls to that method to self calls to that method in the included trait code
@lauritzthamsen
Copy link
Owner

we don't include super-called methods from superclasses by default and we only change super calls when we call a super method that is actually included into the target class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants