Skip to content

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