Skip to content

Fix #8203: handle intersection type in parent registration #8206

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 25, 2020

Conversation

liufengyun
Copy link
Contributor

Fix #8203: handle intersection type in parent registration

An enum value may have the type A & B, in such cases we
need to register for both A and B.

An enum value may have the type `A & B`, in such cases we
need to register for both `A` and `B`.
Copy link
Contributor

@OlivierBlanvillain OlivierBlanvillain left a comment

Choose a reason for hiding this comment

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

LGTM

@liufengyun liufengyun merged commit 04d5068 into scala:master Feb 25, 2020
@liufengyun liufengyun deleted the fix-8203 branch February 25, 2020 16:08
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.

Spurious exhaustivity warning
2 participants