Ryan Macnak
439cabaec0
[test] Changes to mirrors tests to make them more Dart 3 compatible.
...
These changes are not sufficient by themselves, but the subset that can still run in Dart 2.
Bug: https://github.com/dart-lang/sdk/issues/40045
Change-Id: Ie8f61fc9ee94b85329a701f97b5d3f91dbc1f889
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132422
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
2020-01-22 01:30:05 +00:00
Ryan Macnak
7295841073
[test] Remove dart2js tests of MirrorsUsed. Remove MirrorsUsed annotations for all tests.
...
Remove tests using both dart:mirrors and dart:html.
Bug: https://github.com/dart-lang/sdk/issues/40045
Change-Id: Ib0fcaab497fee6c18460199ae2db18451408b015
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132740
Reviewed-by: Ben Konyi <bkonyi@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2020-01-22 00:06:24 +00:00
Erik Ernst
cf01c459f3
Updated tests for new treatment of init.formal type annotations
...
Adjusted lib_2/mirrors/initializing_formals_test.dart to match new rule
for static checking on type annotations of initializing formals.
Added language_2/initializing_formals_type_annotation_test.dart to
check the 4 main situations directly.
Change-Id: Icf763c79c99274645f7967b8c3e3a3c3f6536763
Reviewed-on: https://dart-review.googlesource.com/7268
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Erik Ernst <eernst@google.com >
2017-09-21 07:34:58 +00:00
Ben Konyi
5b60e5841d
Migrated test block 222 to Dart 2.0.
...
Minor changes to a few tests, no major refactors.
Bug:
Change-Id: I66c00b6465597a3534071f8d70c4718f209d5e6e
Reviewed-on: https://dart-review.googlesource.com/3787
Commit-Queue: Ben Konyi <bkonyi@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Erik Ernst <eernst@google.com >
2017-09-13 02:05:02 +00:00