mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 18:49:37 +00:00
[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>
This commit is contained in:
parent
c042924d0d
commit
eda91b407d
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue