TransientTypeRef
dotty.tools.sjs.ir.Types.TransientTypeRef
final case class TransientTypeRef(name: LabelName)(tpe: Type) extends TypeRef
Transient TypeRef to store any type as a method parameter or result type.
TransientTypeRef cannot be serialized. It is only used in the linker to support some of its desugarings and/or optimizations.
TransientTypeRefs cannot be used for methods in the Public namespace.
The name is used for equality, hashing, and sorting. It is assumed that all occurrences of a TransientTypeRef with the same name associated to an enclosing method namespace (enclosing class, member namespace and simple method name) have the same tpe.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TypeReftrait Comparable[TypeRef]class Objecttrait Matchableclass Any
Members list
In this article