commit | eda91b407da71a6ab561c639ce938a0f4a51d146 | [log] [tgz] |
---|---|---|
author | Nicholas Shahan <nshahan@google.com> | Thu Apr 04 00:42:24 2024 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 04 00:42:24 2024 +0000 |
tree | c7e7309ad781359bf7948fa6e8e2c931550d61be | |
parent | c042924d0dd7e36505255d07b3268038a9b2303f [diff] |
[tests] Add implicit downcast requirements Some expectations in these tests rely on implicit downcasts throwing errors at runtime. Fixes: https://github.com/dart-lang/sdk/issues/55353 Change-Id: Ie1923e26552b95ddb3d4199e0f8f5a2a05e2c124 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/361004 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
diff --git a/tests/lib/js/static_interop_test/call_getter_test.dart b/tests/lib/js/static_interop_test/call_getter_test.dart index b908cf4..1150e46 100644 --- a/tests/lib/js/static_interop_test/call_getter_test.dart +++ b/tests/lib/js/static_interop_test/call_getter_test.dart
@@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// Requirements=checked-implicit-downcasts + /// WARNING /// /// Not all of the expectations in this test match the language specification.
diff --git a/tests/lib/js/static_interop_test/call_method_test.dart b/tests/lib/js/static_interop_test/call_method_test.dart index 33fef8b..66ac758 100644 --- a/tests/lib/js/static_interop_test/call_method_test.dart +++ b/tests/lib/js/static_interop_test/call_method_test.dart
@@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// Requirements=checked-implicit-downcasts + /// WARNING /// /// Not all of the expectations in this test match the language specification.