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>
4 lines
50 B
Dart
4 lines
50 B
Dart
test(dynamic x) {
|
|
if (x case const Foo(1)) {}
|
|
}
|