Skip to content

Fix #1803: Infer type parameters of anonymous class parents from expected type #1819

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
Dec 17, 2016

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 17, 2016

If a parent type of an anonymous class is an Ident or Select which refers
to a parameterized type, use the expected type to infer its type parameters.

Fixes #1803.

Review by @nicolasstucki ?

If a parent type of an anonymous class is an Ident or Select which refers
to a parameterized type, use the expected type to infer its type parameters.

Fixes scala#1803.
@nicolasstucki
Copy link
Contributor

LGTM

@nicolasstucki nicolasstucki merged commit 5df985c into scala:master Dec 17, 2016
@allanrenucci allanrenucci deleted the fix-#1803 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