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

can't abstract over interpolated encoders #452

Open
tpolecat opened this issue May 10, 2021 · 0 comments
Open

can't abstract over interpolated encoders #452

tpolecat opened this issue May 10, 2021 · 0 comments
Labels

Comments

@tpolecat
Copy link
Member

tpolecat commented May 10, 2021

sql"$e" becomes Fragment[Nothing] in Scala 3 if e: Encoder[A] for some type variable A rather than a concrete type. This is due to scala/scala3#12343 (comment)

@tpolecat tpolecat changed the title [Scala 3] can't abstract over interpolated encoders can't abstract over interpolated encoders May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant