Closed
Description
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)