Skip to content

Expose ability to get children of a sealed trait via Reflection #8460

Closed
@gzoller

Description

@gzoller

problem

Today there doesn't seem to be a way to obtain the case class or case object children of a sealed trait through the Reflection interface. This is useful and necessary information.

expectation

Reflection.SymbolOps:

   def children(using ctx: Context): List[Symbol]

(a PR is in-progress for this fix)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions