4c0cab024e
Update CFE tests (and a few analyzer tests) to match the new world of the syntax being unsupported. Fixes https://github.com/dart-lang/sdk/issues/42681 Change-Id: I71bc973f36dfb978ddb825edb68530d8e260a58a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157980 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
6 lines
64 B
Dart
6 lines
64 B
Dart
main() {
|
|
var c;
|
|
c?.[1] = 42;
|
|
c?[1] = 42;
|
|
c ? [1] = 42;
|
|
} |