Skip to content

Simplify box adaptation #16845

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 1 commit into from
Feb 7, 2023
Merged

Simplify box adaptation #16845

merged 1 commit into from
Feb 7, 2023

Conversation

Linyxus
Copy link
Contributor

@Linyxus Linyxus commented Feb 6, 2023

This PR simplifies the box adaptation implementation.

  1. Instead of adding a destructCapturingType function, use the existing methods to analyze and decompose the input type. It should work well with annotated types.
  2. Add explanation on the implementation.

@Linyxus Linyxus marked this pull request as ready for review February 7, 2023 09:32
@Linyxus Linyxus requested a review from odersky February 7, 2023 11:56
@odersky odersky merged commit 7e2f80b into scala:main Feb 7, 2023
@odersky odersky deleted the simp-adaptBoxed branch February 7, 2023 15:52
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.

2 participants