File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -703,13 +703,9 @@ nullable_value_type
703
703
704
704
// Source: §8.4.2 Type arguments
705
705
type_argument_list
706
- : '<' type_arguments '>'
706
+ : '<' type_argument (',' type_argument)* '>'
707
707
;
708
708
709
- type_arguments
710
- : type_argument (',' type_argument)*
711
- ;
712
-
713
709
type_argument
714
710
: type
715
711
| type_parameter nullable_type_annotation?
@@ -2635,7 +2631,6 @@ global_attributes
2635
2631
2636
2632
global_attribute_section
2637
2633
: '[' global_attribute_target_specifier attribute_list ']'
2638
- | '[' global_attribute_target_specifier attribute_list ',' ']'
2639
2634
;
2640
2635
2641
2636
global_attribute_target_specifier
@@ -2652,7 +2647,6 @@ attributes
2652
2647
2653
2648
attribute_section
2654
2649
: '[' attribute_target_specifier? attribute_list ']'
2655
- | '[' attribute_target_specifier? attribute_list ',' ']'
2656
2650
;
2657
2651
2658
2652
attribute_target_specifier
@@ -2665,7 +2659,7 @@ attribute_target
2665
2659
;
2666
2660
2667
2661
attribute_list
2668
- : attribute (',' attribute)*
2662
+ : attribute (',' attribute)* ','?
2669
2663
;
2670
2664
2671
2665
attribute
You can’t perform that action at this time.
0 commit comments