Skip to content

Fix #7893: Less eager forcing of expected types for functions #7896

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 2 commits into from
Jan 6, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jan 5, 2020

Don't force expected parameter types if the callee type of a closure
is known. In this case, we have enough info to fill in parameter types
from the callee.

Don't force expected parameter types if the callee type of a closure
is known. In this case, we have info info to fill in parameter types
from the callee.
@odersky odersky requested a review from smarter January 6, 2020 12:01
@odersky odersky added the fasttrack Simple fix. Reviewer should merge or apply additional changes directly. label Jan 6, 2020
@smarter smarter merged commit 25fb86b into scala:master Jan 6, 2020
@smarter smarter deleted the fix-#7893 branch January 6, 2020 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fasttrack Simple fix. Reviewer should merge or apply additional changes directly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants