Skip to content

Add a method to create a new type symbol #19448

Closed
@nicolasstucki

Description

@nicolasstucki

How can I get a type symbol for a type alias to use TypeDef.apply?

You can get it from an existing type alias. We currently do not have a method to create new type symbol. We might want to add this as Symbol.newType or Symbol.newTypeAlias.

Originally posted by @nicolasstucki in #19344 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions