Skip to content

Fix #2866: Handle partial functions in preTypeArgs #2868

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 5 commits into from
Jul 15, 2017

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 13, 2017

Fixes to make #2866 and #2867 work.
@szeiger Do you want to review?

odersky added 5 commits July 13, 2017 18:39
Failed before because of the outer block.
This fixes scala#2867.
Was tried in a previous version of the fix, now unused.
A partial function should be generated if

 - the argument is a Match
 - at least one formal is a partial function.
@odersky odersky merged commit 9e1ed7a into scala:master Jul 15, 2017
@allanrenucci allanrenucci deleted the fix-#2867 branch December 14, 2017 19:18
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.

1 participant