Skip to content

Arrays of nullable references #1385

@jnm2

Description

@jnm2

It looks as though string?[] is not allowed by the current grammar, or any X?[] when X is a class_type, interface_type, delegate_type, 'dynamic', or type_parameter:

array_type
: non_array_type rank_specifier+
;
non_array_type
: value_type
| class_type
| interface_type
| delegate_type
| 'dynamic'
| type_parameter
| pointer_type // unsafe code support
;

This extends the problem beyond arrays of nullable arrays, to arrays of nullable references of any kind.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions