OfArray

dotty.tools.dotc.transform.init.Objects.OfArray
case class OfArray(owner: ClassSymbol, regions: Data)(using ctx: Context) extends ValueElement

Represents arrays.

Note that the 2nd parameter block does not take part in the definition of equality.

Different arrays are distinguished by the context. Currently the default context is the static object whose initialization triggers the creation of the array.

In the future, it is possible that we introduce a mechanism for end-users to mark the context.

Value parameters

owner

The static object whose initialization creates the array.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class ValueElement
class Value
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def show(using Context): String

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

val addr: Addr