Skip to content

Restore some form of Reflection.Type.apply(clazz: Class[_]) #9850

Closed
@gzoller

Description

@gzoller

This method was removed roughly 7 days ago with a commit.

I used this to create a Type as a bridge between Tasty Inspection and Reflection. In my Inspection code I called Type.apply(clazz) then used the Type in the same code I share with Reflection.

I see the commit provided Type.ofErasedClass(clazz: Class[_]) in the CompilerInterface but didn't expose it in Reflection.

Please expose ofErasedClass() in Reflection.

This change did break my application code with no clear workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions