Skip to content

spec: revisit syntax for index expressions #76971

@griesemer

Description

@griesemer

The section on Instantiations doesn't have any syntax associated with it, it relies on operands with type arguments.

The section on Index expressions relies on the Index production but that production allows for a comma-separated list (which can't be used for indices). The reason is that the parser uses index expression to also parse type arguments.

This needs a cleanup; we should be able to present this more clearly in the spec.

Metadata

Metadata

Assignees

Labels

DocumentationIssues describing a change to documentation.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions