-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add capture checking to some standard library classes #18192
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 26 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4beba0a
Add unsafeAssumePure method
odersky 18a9d2c
Avoid spurious dealiasing in alignDependentFunction
odersky cf2b2c8
Handle capture checking language imports correctly for -Ytest-pickler
odersky 6ff1774
Keep track which classes were compiled with capture checking
odersky 58c3041
Better interop with non-capture checked files
odersky 66670c2
Better interop with non-capture-checked files for override checking
odersky 8f04d3a
Better interop for non-capture-checked file for bounds checking
odersky 80943e4
Disable mapJavaArgs when rechecking Apply nodes
odersky df78771
Capture check first collection classes -- original state
odersky a882fe9
Capture checked versions of Iterator and IterableOnce
odersky c0bcfbe
Drop redundant statements
odersky 714606c
Update MimaFilters
odersky 08deac1
Fix rebase breakage
odersky 9734a36
Fix more rebase breakage
odersky 8140273
Test for #16415
odersky 12735bd
Enable test that failed in #18168
odersky 25104d1
Improve fluidify
odersky e104f8e
Exclude AnyVal from set of pure base classes
odersky 1a30250
Make assigned types of inlined expressions InferredTypes
odersky 6c949a9
Special treatment of types of function members
odersky cd1a7b2
Don't adapt function and by name types when unpickling
odersky 9c4afd6
Avpid global side effects in unpickle tests
odersky af8124f
Move stdlib tests to pos
odersky 46327f5
Add {mutable,immutable}.Iterable.scala to stdlib tests
odersky b23bf45
Add View.scala to stdlib test
odersky fc9bb75
Add collection/Seq to stdlib tests
odersky 64e95b2
Also fluidify member when doing overriding checks
odersky fa71a56
Add subclasses IndexedSeq, LinearSeq, {mutable,immutable}.Seq to stdl…
odersky 0230d03
Add StrictOptimized ops to stdlib tests
odersky 5543104
Add List and ListBuffer to stdlib test
odersky 7c642c2
Add StringOps and StringBuilder to stdlib tests
odersky 74696b9
Improve error message for escaping capabilities
odersky 4b812e3
Align typer and rechecker for Labelled and Bind trees
odersky 0a8f763
Use InferredTypeTree for @unchecked match selectors
odersky bd8a4de
Add test programs to stdlib tests
odersky 8ce0521
Rename WithCaptureChecks to CaptureChecked
odersky 7a8fae7
Update MiMaFilters
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
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.