Skip to content
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

Add Quotes MethodTypeCompanion #18499

Closed
wants to merge 1 commit into from

Conversation

nicolasstucki
Copy link
Contributor

This allow makes it possible to create contextual and implicit method types.

Fixes #18477

This allow makes it possible to create contextual and implicit method
types.

Fixes scala#18477
@nicolasstucki nicolasstucki self-assigned this Sep 4, 2023
@nicolasstucki nicolasstucki marked this pull request as ready for review October 12, 2023 13:56
@nicolasstucki nicolasstucki marked this pull request as draft October 12, 2023 13:56
nicolasstucki added a commit that referenced this pull request Apr 25, 2024
It allows to create Contextual and Implicit MethodTypes. MethodTypeKind
abstracts away the `MethodTypeCompanion` implementation into a simple
enum style choice for a newly added MethodType apply method. The
MethodType unapply is kept as it was for source compatibility, instead
users are encouraged to use `isImplicit` and `isContextual` methods.

Based on #18499 
Fixes #18477
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add contextual method types to Quotes API
1 participant