Skip to content

Mixin: class defined abstract members take precedence over interface defined. #764

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

Merged
merged 2 commits into from
Aug 22, 2015

Conversation

DarkDimius
Copy link
Contributor

http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-5.html#jvms-5.4.3.3
If there is a class that defines method, it will take precedence over all interface definitions.
Even if class defined method is abstract but interface defined is not.

@odersky please review. Blocks bootstrap.

…defined.

In case we have an class-defined abstract member implemented
 by a trait we need to create an explicit forwarder.
@odersky
Copy link
Contributor

odersky commented Aug 22, 2015

LGTM

odersky added a commit that referenced this pull request Aug 22, 2015
Mixin: class defined abstract members take precedence over interface defined.
@odersky odersky merged commit de9877f into scala:master Aug 22, 2015
@allanrenucci allanrenucci deleted the mixin/forwarders branch December 14, 2017 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants