-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #1441: init MODULE$ in <clinit> #9181
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
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
506ef7c
Fix #1441: init $MODULE in <clinit>
liufengyun 6b28347
Remove old init code in constructor
liufengyun 7426c78
Handle class field uniformly
liufengyun 967375d
Fix flags of MODULE field
liufengyun b07b47c
Remove legacy code
liufengyun 7e232e7
Add jvm-9 as target
liufengyun 4cd9626
Avoid Ycheck errors
liufengyun a2d9003
Pass -Ycheck
liufengyun 3adfcea
Handle undesugared ident
liufengyun 04d0dc9
Performance tweak
liufengyun 7ad5beb
Handle existing <clinit> in template
liufengyun 3e6fb43
Handle super calls properly
liufengyun fff0162
Use backend magic to handle super calls
liufengyun 93e1c9e
Fix usage of ctx
liufengyun 0cc4dfa
Generate super accessors for inner classes
liufengyun 1fbd26f
Fix #9341: add test
liufengyun 80e6f94
Add test
liufengyun 1f18857
Add test case t10290
liufengyun a79c835
Generate super accessor for traits
liufengyun b9502e3
Special case Array.scala compilation
liufengyun 90d00ec
Handle super calls in blocks
liufengyun d002c78
Remove unsupported options
liufengyun b1a5234
Add comment as doc
liufengyun d2419fc
Fix usage of context
liufengyun b05ce6c
Update compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
liufengyun 5acfdbb
Check that qual of Super is always This
liufengyun 7e3c61b
The qual of This could be Ident
liufengyun 867e56e
Port scala.js changes
liufengyun ef11f9b
Change default target to jvm-9 in test
liufengyun 38a5aec
Try use JDK 11 as default
liufengyun 479fd13
Set module class fields to static except bitmap fields
liufengyun eaedbca
Make <static> flag order-independent at backend
liufengyun 51783fe
Use semantic names for bitmaps
liufengyun ab59eee
Don't use Java 11 for community projects
liufengyun 745d53c
Address reviews
liufengyun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.