Skip to content

No way to list the type parameters from a quotes Symbol or TypeRepr #13947

Closed
@cchantep

Description

@cchantep

It's not possible in quotes to do something like:

def foo(s: Symbol): List[Symbol] = s.typeParams

In dotc it's possible to:

def foo(s: Symbol)(using Context): List[TypeSymbol] = s.denot.typeParams

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions