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

Backport "Fix regression in exhausitivity of HK types" #18374

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

Kordyjan
Copy link
Contributor

@Kordyjan Kordyjan commented Aug 9, 2023

Backports #18303

The motivating case (i16451) is complicated, because it involves
unchecked type arguments.  To fix the regression, I'm reverting the fix.
@Kordyjan Kordyjan mentioned this pull request Aug 9, 2023
18 tasks
@@ -678,8 +669,8 @@ object SpaceEngine {
rec(tp, Nil)
}

extension (cls: Symbol)
/** A type is decomposable to children if it's sealed,
extension (tp: Type)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change changes binary compatibility of our public, yet private API.
However, I don't think anyone would try to access any of this extension method

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have enough problems and difficulties. Let's not find ways to add new ones. None of this is supported public API, and is subject to any change.

@Kordyjan Kordyjan merged commit e579b87 into scala:release-3.3.1 Aug 10, 2023
17 checks passed
@Kordyjan Kordyjan deleted the backport-18303 branch August 10, 2023 06:29
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.

3 participants