How to pass multiple type parameters to a function in a quote? #16967
Unanswered
pk044
asked this question in
Metaprogramming
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm rewriting the following piece of Scala 2 code:
to Scala 3 - and I'm curious how to pass the
ps
types toforProduct
type paramaters:The solution above doesn't compile, seems like I can't use type splices either:
Is it possible to do that with quotes or do I have to give it another try by converting it into an AST?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions