RecordType

final case class RecordType(fields: List[Field]) extends Type

Record type. Used by the optimizer to inline classes as records with multiple fields. They are desugared as several local variables by JSDesugaring. Record types cannot cross method boundaries, so they cannot appear as the type of fields or parameters, nor as result types of methods. The compiler itself never generates record types.

Companion
object
trait Product
trait Equals
class Type
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

Inherited from
Product
def show(): String
Inherited from
Type