Skip to content

Improve inference of dependent function types to fix #5526 #5528

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

Closed

Conversation

b-studios
Copy link
Contributor

@b-studios b-studios commented Nov 27, 2018

Try to improve type inference on dependent function types. Addresses #5526.

This does not fix all related problems of inference on dependent function types (such as #4130). However, some cases like the ones in the tests now don't throw the Unspecified Error anymore.

@b-studios
Copy link
Contributor Author

Looks like I somehow destroyed pickling (that's the failing tests), which is strange.

@smarter
Copy link
Member

smarter commented Nov 27, 2018

Pickling with dependent function type is broke' right now in general, so it might not be your fault. I'll fix it soon and look at your pr afterwards

@odersky
Copy link
Contributor

odersky commented Dec 17, 2018

Superseded by #5631

@odersky odersky closed this Dec 17, 2018
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.

4 participants