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 Serializabletrait Producttrait Equalsclass ValueElementclass Valueclass Objecttrait Matchableclass Any
Members list
In this article