-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add capture checking annotation to Scala 3 Standard Library #23688
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 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2e81d8b
Add capture checking to boundary and NonLocalReturns
natsukagami 1ada5f6
Add capture-checking test for boundary
natsukagami 0a6490c
Patch DropBreaks to correctly detect boundary blocks
natsukagami cc82c70
Add capture checking to CommandLineParser
natsukagami 32ef601
Add capture checking to scala.util
natsukagami 28b7705
Add capture checking to scala.runtime
natsukagami 4d88844
Add capture checking to rest of scala.runtime (except TupledFunctions)
natsukagami 8c95d6c
Add capture checking to IArray
natsukagami 9a5c1b7
[TODO INVESTIGATE] IArray: `Array[AnyRef^{xs*}]` not working, revert …
natsukagami 397b62f
Add capture checking to various scala.* base package files
natsukagami 7155f3d
[TODO FIX] Temporarily drop upper bound of higher-kinded type `F` in …
natsukagami 1c7196d
Add capture checking to scala.reflect
natsukagami 67f8eec
[TODO REMOVE] Add TODO list
natsukagami 0791961
[TODO EXPLAIN] Add capture checking to Mirror and TupleMirror
natsukagami d3ad017
Disable CC on Mirror for now, it's interferring with case classes
natsukagami 11c1aa3
Add capture checking to scala.caps
natsukagami 3b1ca63
Add capture checking to compiletime.Ops
natsukagami af9d128
Add capture checking to stdLibPatches
natsukagami e2f2387
Add capture checking to annotations
natsukagami 618ba9c
Attempt to capture-check quotes
natsukagami 2f6a394
Track sun.misc.Unsafe in LazyVal implementation
natsukagami 402ac89
Require Conversion to be pure
natsukagami ccda5a1
Remove CC from tuples for now, Map is not compiling
natsukagami d301515
Make sure that DropBreaks catch also constant folded statements
natsukagami 3b957f2
Update test outputs
natsukagami 4f4aa5b
Remove TODO
natsukagami c771f9f
Remove extra added line
natsukagami bdfe28a
Apply suggestions from code review
natsukagami 9b0fd11
Update output of boundary test
natsukagami 84bc4e3
Make Break.label public again
natsukagami 78ef541
Add safety comment to `Boundary.label`
natsukagami 6622e4c
Fix boundary test error line number
natsukagami 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
Add capture checking to scala.util
- Loading branch information
commit 32ef601039e2040f55c99477ca6db45ba99ba39a
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
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.