From 066fbfca335b2c0511f2efd9acfd7a0d96783edf Mon Sep 17 00:00:00 2001 From: jnm2 Date: Wed, 30 Jul 2025 20:07:43 -0400 Subject: [PATCH] Fix grammar to allow arrays of nullable reference types --- standard/types.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/standard/types.md b/standard/types.md index 31ccd4773..b3fb54f86 100644 --- a/standard/types.md +++ b/standard/types.md @@ -54,16 +54,13 @@ interface_type ; array_type - : non_array_type rank_specifier+ + : array_type nullable_type_annotation rank_specifier+ + | non_array_type rank_specifier+ ; non_array_type : value_type - | class_type - | interface_type - | delegate_type - | 'dynamic' - | type_parameter + | (class_type | interface_type | delegate_type | 'dynamic' | type_parameter) nullable_type_annotation? | pointer_type // unsafe code support ;