final case classRecordType(fields: List[Field]) extends Type with Product with Serializable
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.
Linear Supertypes
Serializable, Serializable, Product, Equals, Type, AnyRef, Any
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.