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

Remove Expr.StringContext.unapply #10675

Merged

Conversation

nicolasstucki
Copy link
Contributor

We already have a FromExpr[StringContext] that provides the StringContext directly.
Other uses of StringContext where the Expr of each argument natuarally tended to use pattern matching on quotes and Varargs.

We already have a `FromExpr[StringContext]` that provides the `StringContext` directly.
Other uses of `StringContext` where the `Expr` of each argument natuarally tended to use pattern matching on quotes and `Varargs`.
@nicolasstucki nicolasstucki added the release-notes Should be mentioned in the release notes label Dec 7, 2020
@nicolasstucki
Copy link
Contributor Author

We can keep a copy of this extractor in scala.quoted.util (see nicolasstucki/scala-quoted-util#8).

@nicolasstucki nicolasstucki marked this pull request as ready for review December 7, 2020 13:56
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicolasstucki nicolasstucki merged commit faa55ee into scala:master Dec 7, 2020
@nicolasstucki nicolasstucki deleted the remove-Expr.StringContext.unapply branch December 7, 2020 16:44
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes Should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants