Vixen
02b45cc4
csharp
public record class BoundCollectionElement

One entry of a collection expression. is recorded rather than inferred from the type: a spread of int[] into an int[] is indistinguishable from an element by type alone once int[][] exists, and lowering has to be able to tell them apart — one contributes itself, the other contributes its elements.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (2)

Methods (1)

  • public BoundCollectionElement(BoundExpression Expression, bool IsSpread)

    One entry of a collection expression. is recorded rather than inferred from the type: a spread of int[] into an int[] is indistinguishable from an element by type alone once int[][] exists, and lowering has to be able to tell them apart — one contributes itself, the other contributes its elements.

Used by (2)

  • BinderVixen.Raven
  • BoundCollectionExpressionVixen.Raven