Skip to content

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

Description

@neko-kai

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]]})}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions