Skip to content

More details about structural types #5341

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

Conversation

Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Oct 30, 2018

No description provided.

@Duhemm
Copy link
Contributor Author

Duhemm commented Oct 30, 2018

I'm also wondering, what's the point of allowing dependent methods or methods with more than 7 parameters in refinements if they will be impossible to call?

@odersky
Copy link
Contributor

odersky commented Oct 31, 2018

I'm also wondering, what's the point of allowing dependent methods or methods with more than 7 parameters in refinements if they will be impossible to call?

The refined type might still be used as a supertype of classes that implement these methods. But I agree it's a bit far-fetched.

@Duhemm Duhemm merged commit ce0acf1 into scala:master Nov 1, 2018
@Duhemm Duhemm deleted the details-programmatic-structural-types branch November 1, 2018 06:24
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