Skip to content

Quoted pattern type variables without backticks #16935

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

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Feb 16, 2023

With this change we can support references to quote pattern type variables without backticks.

Reduces overhead when using explicit type variable definition

case '{ type t; ... : F[t] }

SIP: https://github.com/scala/improvement-proposals/blob/main/content/quote-pattern-type-variable-syntax.md?plain=1#L66-L70

Enable the use of many type variable definitions without an explicit type variable definition

case '{ ... : F[t, t] }

SIP: https://github.com/scala/improvement-proposals/blob/main/content/quote-pattern-type-variable-syntax.md?plain=1#L72-L78

@nicolasstucki nicolasstucki force-pushed the support-quoted-type-variables-without-backticks branch 2 times, most recently from ab1b3a9 to a473455 Compare February 17, 2023 07:46
@nicolasstucki nicolasstucki self-assigned this Feb 17, 2023
@nicolasstucki nicolasstucki added the needs-minor-release This PR cannot be merged until the next minor release label Feb 21, 2023
@nicolasstucki nicolasstucki force-pushed the support-quoted-type-variables-without-backticks branch from a473455 to 4b0fbc8 Compare April 27, 2023 09:09
@nicolasstucki
Copy link
Contributor Author

Moved into #17362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-minor-release This PR cannot be merged until the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant