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

Make unchecked cases non-@unchecked and non-unreachable #16958

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

dwijnand
Copy link
Member

Fixes #16451

@dwijnand dwijnand force-pushed the unchecked-unreachable-enum-vals branch 6 times, most recently from 83093d0 to 99f6ab9 Compare February 20, 2023 11:06
@dwijnand dwijnand self-assigned this Feb 20, 2023
@dwijnand dwijnand force-pushed the unchecked-unreachable-enum-vals branch 6 times, most recently from 31b0aec to a1a8758 Compare February 23, 2023 13:14
@dwijnand dwijnand marked this pull request as ready for review February 25, 2023 10:40
@dwijnand dwijnand assigned liufengyun and unassigned dwijnand Feb 25, 2023
@dwijnand
Copy link
Member Author

@liufengyun as usual, any comments or questions welcome - we always end up with a better change afterwards! 😉

Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM

@dwijnand dwijnand force-pushed the unchecked-unreachable-enum-vals branch from a1a8758 to 6b36cd9 Compare February 28, 2023 12:54
@dwijnand dwijnand merged commit 9dcb217 into scala:main Mar 2, 2023
@dwijnand dwijnand deleted the unchecked-unreachable-enum-vals branch March 2, 2023 08:50
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 1, 2023
dwijnand added a commit that referenced this pull request Aug 8, 2023
Reverts a key part of #16958, which is a complicated case, to fix the
regression(s).
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.

Expected "the type test for <blah> cannot be checked at runtime" warning but none were produced
3 participants