b7debf00f7
This supports pattern listener events in the BodyBuilder without crashing. Currently no AST is created and only dummy objects are put on the stack. Change-Id: I24a29073b578bb9aaa07e84d5177e51428074a94 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262422 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
7 lines
79 B
Dart
7 lines
79 B
Dart
test(dynamic x) {
|
|
switch (x) {
|
|
case {'a': 1, 'b': 2}:
|
|
break;
|
|
}
|
|
}
|