Replies: 1 comment 1 reply
-
I need to investigate the solution further but it indeed looks promising. Looks like it is possible by using making
And last one: do we actually need such solution? We don't need to generate new definitions: we only need to derive implementations. For instance, trait RefinedTypeOps[T]: //T is the opaque (or transparent) alias
type BaseType = deriveBaseType[T]
type ConstraintType = deriveConstraintType[T] but here comes another problem: macros (AFAIK) cannot return a type. |
Beta Was this translation helpful? Give feedback.
1 reply
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 encountered this and wonder if the same strategy could be used to improve
RefinedTypeOps
declaration.WDYT?
Beta Was this translation helpful? Give feedback.
All reactions