Skip to content

Commit a9ea936

Browse files
eernstgcommit-bot@chromium.org
authored andcommitted
Change null-aware operator [], operator []=, and function call to not have a period.
Change-Id: I8b9c83e216dd713afeef8a1c1cf93c36c8de3792 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132840 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Erik Ernst <eernst@google.com>
1 parent e7d4c48 commit a9ea936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/spec_parser/Dart.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ selector
827827
;
828828
829829
argumentPart
830-
: typeArguments? arguments
830+
: '?'? typeArguments? arguments
831831
;
832832
833833
incrementOperator
@@ -854,7 +854,7 @@ unconditionalAssignableSelector
854854
assignableSelector
855855
: unconditionalAssignableSelector
856856
| '?.' identifier
857-
| '?.[' expression ']'
857+
| '?' '[' expression ']'
858858
;
859859
860860
identifierNotFUNCTION

0 commit comments

Comments
 (0)