118f628ecf
Bug: https://github.com/dart-lang/sdk/issues/50035 Change-Id: I601248bc206d9b19521b020fadb2eccd048e0ec7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261701 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
7 lines
76 B
Dart
7 lines
76 B
Dart
test(dynamic x) {
|
|
switch (x) {
|
|
case const Foo(1)?:
|
|
break;
|
|
}
|
|
}
|