Skip to content

Fix #1737: Enable GADT checking for objects #1740

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
Nov 24, 2016

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 23, 2016

Review by @julienrf

@odersky
Copy link
Contributor Author

odersky commented Nov 23, 2016

This is based on #1739. Only the last commit is new and needs to be reviewed.

@smarter
Copy link
Member

smarter commented Nov 23, 2016

last commit LGTM

@julienrf
Copy link
Contributor

Looks great, thanks for the quick fix!

So far, only typed patterns an dunapply had GADT matching.
i1737.scala shows that we need to do the same thing for objects.
@smarter smarter merged commit 3588832 into scala:master Nov 24, 2016
@allanrenucci allanrenucci deleted the fix-#1737 branch December 14, 2017 16:59
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