-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use level checking for Fresh instances #23101
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
19 commits
Select commit
Hold shift + click to select a range
c64905f
Record level of current owner when creating Fresh instances
odersky b4fff3a
Don't increase symLevel for blocks
odersky 2352c95
Don't allow Fresh to subsume TypeParamRefs
odersky 2953d64
Introduce QualifiedCapability extractor
odersky 14e992c
Refactor printing of capturing types and function types
odersky 11ca325
Explain root capabilities in error messages
odersky 4705a47
More detailed explanations where Fresh instances come from
odersky 6df16c8
Refactor: Instead of purpose string, use Origin enum
odersky b005179
Implement level checking for Fresh roots
odersky c9683ac
Disambiguate and explain override error messages
odersky b3531fc
Fix root treatment of parameterless methods
odersky fce0fd4
Turn level checking on under useFreshLevels config option
odersky 33069c1
Tweak printing in MessagePrinter
odersky 23bb534
Fix levelOK when root.Result variables are added to capture set varia…
odersky f2fbfc0
Don't elide capture sets of capability classes in most cases
odersky 9f0527d
Tighten level checking
odersky 0fcd1ab
Allow Fresh instances in disallowRootCapability
odersky 802ae17
Retrigger CI with [test_non_bootstrapped]
WojciechMazur 2f135cc
Address review comments
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
Oops, something went wrong.
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.