-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #5948: Be more careful with capturing #5957
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 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
51928fd
Change flags for Any_typeCast
odersky bdfc5a9
Systematically use `cast` in compiler
odersky 237eba0
Replace TypeBound arguments by wildcards in wildApprox
odersky 2b02931
Update decompiled files to account for new type tests
odersky 086a218
Introduce capture wildcard adaptation
odersky c9be032
New method `substApprox` on types
odersky 7410682
Drop capture conversion in type comparer
odersky f1ab7dc
Capture convert only if LHS is a path
odersky 7165b98
Fix Definitions
odersky 6d21081
Fix bytecode test
odersky 545cfe7
Add missing library file
odersky 3553f4e
Fix bytecode tests some more
odersky e04918e
Delete DottyByteCodeTest
odersky 83ac988
Allow capture conversion after typer
odersky cee8162
Reinstantiate DottyByteCodeTest
odersky 9e16a48
Drop dead code
odersky abb8146
Utility functions to test whether a type is a TypeBounds
odersky 78939ca
Document capture conversion in TypeComparer and Typer
odersky 79bfff4
Document TypeBox and move to library/src
odersky 100bdeb
Address remaining review comments
odersky 788fac8
Transform infos of SkolemTypes in TypeMap
odersky 09b8754
Make SkolemTypes immutable and non-recursive.
odersky 6e811b4
Print info of SkolemTypes under -Xprint-types
odersky d4306dd
Document two aspects suggested by review
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
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.