Skip to content
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

Permit Capture Refs for Uninitialized Type and Term Params in BiTypeMap #22451

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bracevac
Copy link
Contributor

Fixes #22437

The check crashes the compiler when mapping over a capture variable in an upper bound of the form CapSet^{C^} as well as path captures in function signatures. See the test capture-vars-subtyping2.scala for examples.

The check crashes the compiler when mapping over a capture variable in
a type bound bound of the form
CapSet^{C^} as well as path captures in function signatures.
See the test capture-vars-subtyping2.scala for examples.
@bracevac bracevac force-pushed the capture-subtyping-bounds branch from c806126 to 965589b Compare January 27, 2025 20:00
@bracevac bracevac changed the title Do not check for trackable refs in BiTypeMap Permit Capture Refs for Uninitialized Type and Term Params in BiTypeMap Jan 27, 2025
@bracevac
Copy link
Contributor Author

bracevac commented Feb 6, 2025

If there's no objection, then we should merge it @odersky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CapSet Type-Variable Bounds Crash the Capture Checker
1 participant