Skip to content

Fix #545: no need to make members of static classes static. #546

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 4 commits into from
May 13, 2015

Conversation

DarkDimius
Copy link
Contributor

Otherwise we will need to rewrite references to This of class be
references on ModuleVal. This is less efficient(instead of calling method
statically known to be final, you have virtual call) and less jvm-friendly,
as needs additional instructions to get to ModuleVal.

DarkDimius added 2 commits May 8, 2015 11:13
Otherwise we will need to rewrite references to `This` of class be references on ModuleVal.
This is less efficient(instead of calling method statically known to be final, you have virtual call) and less jvm-friendly,
as needs additional instructions to get to ModuleVal.
@odersky
Copy link
Contributor

odersky commented May 8, 2015

Otherwise LGTM

@DarkDimius
Copy link
Contributor Author

@odersky please review 87a5ab2

DarkDimius added a commit to dotty-staging/dotty that referenced this pull request May 13, 2015
DarkDimius added a commit that referenced this pull request May 13, 2015
Fix #545: no need to make members of static classes static.
@DarkDimius DarkDimius merged commit 629f4ac into scala:master May 13, 2015
@allanrenucci allanrenucci deleted the fix-#545 branch December 14, 2017 19:19
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.

2 participants