Skip to content

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
tgodzik added a commit that referenced this pull request Aug 13, 2025
Backport "Add suppression if nowarn differs" to 3.3 LTS
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