Clarify aggregates
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
This commit is contained in:
parent
203a545285
commit
c9f929122a
|
|
@ -140,7 +140,7 @@ to a new temporary variable.
|
||||||
|
|
||||||
## Aggregate construction
|
## Aggregate construction
|
||||||
|
|
||||||
Aggregate values of any kind are built via `Rvalue::Aggregate`. All fields are
|
Aggregate values of any kind (e.g. structs or tuples) are built via `Rvalue::Aggregate`. All fields are
|
||||||
lowered to `Operator`s. This is essentially equivalent to one assignment
|
lowered to `Operator`s. This is essentially equivalent to one assignment
|
||||||
statement per aggregate field plus an assignment to the discriminant in the
|
statement per aggregate field plus an assignment to the discriminant in the
|
||||||
case of `enum`s.
|
case of `enum`s.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue