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

Support TagMacro parameter substitution for polymorphic function types on Scala 3 #404

Open
neko-kai opened this issue Jun 29, 2023 · 0 comments
Labels
enhancement New feature or request scala3

Comments

@neko-kai
Copy link
Member

neko-kai commented Jun 29, 2023

Currently TagMacro doesn't work for polymorphic function types - because type parameters there are hidden inside a method refinement - which aren't currently being substituted.

Example https://scastie.scala-lang.org/xBo3y9TES76qP4jcDyOp2Q

[!] Instance is not available in the object graph:
{type.(scala.PolyFunction {def apply(main$package$._$AppF[=0]): main$package$._$InjF[=scala.util.Either[+CustomError,+0]]})}.
@neko-kai neko-kai added enhancement New feature or request scala3 labels Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scala3
Projects
None yet
Development

No branches or pull requests

1 participant