-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make Definitions survive recompilation of core definitions. #928
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
32 commits
Select commit
Hold shift + click to select a range
8978ae6
First versions of Definitions based on TypeRefs not Symbols.
odersky 02164c3
Index primitive value class maps by name, not TypeRef
odersky 0db1043
Harmonize naming conventions for BoxedUnit
odersky 3254690
Make isPolymorphicAfterErasure a method
odersky 687dec1
Use more standard way to define LanguageModuleClass
odersky 23be0fd
Standardize naming and definition order of annotation classes
odersky a2c1d2a
Standardize requiredMethod calls
odersky d7424c0
Match on _name rather than TypeRef in scalaPrimitives
odersky 33b284f
Make BoxedUnit_UNIT a def
odersky dfca53e
Move refType/Class maps from Definitions to CapturedVars
odersky bf38d8c
Remove/hide value class maps
odersky 5db52d2
Make Set[TypeRef]s private
odersky 5398c5a
Avoid overhead of generating symbol sets on each access
odersky af6ffc3
Renamings in Definitions
odersky 2d7a05f
Fix dotty compilation problem in Definitions
odersky 4f01f62
Shorten ..Class.typeRef to ..Type
odersky a1bd4dc
Rename AnnotRef -> AnnotType
odersky e8687d6
Make symbol methods in Definitions depend on implicit context
odersky f93167d
Don't try to transform sources of primitive value classes after Front…
odersky 27e65ef
Enable compilation of primitive types.
odersky 820bd7e
Avoid taking references before toplevel symbols are entered.
odersky 0e14e70
Generalize MultiArrayOf to arrays of wildcards
odersky 224637c
Disable "Exception while typing" trace in retyper.
odersky 4007e71
More refined Retyping tracing
odersky 1377155
Make dir.list synchronized.
odersky 02f0c79
Trying to get more diagnostics out of TreeChecker
odersky 9fe9865
More info when TreeChecker fails
odersky e8b07a3
Better diagnosis from completions printer
odersky b23c6b8
Don't inspect info when dealiasing classes
odersky 581960a
Avoid cyclic reference errors when unpickling classes
odersky b112b2b
Print missing ref diagnostics on stderr
odersky 949c48e
Get more info on Heisenbugs
odersky 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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could
defn.ProductNType(n)be used here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because it would load the class. That's what caused the datarace after all.