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 Serializable
trait Product
trait Equals
class TypeRef
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

final def compareTo(that: TypeRef): Int

Attributes

Inherited from:
TypeRef

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def show(): String

Attributes

Inherited from:
TypeRef

Concrete fields

val tpe: Type