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
Alexander Markov
2e34231c8e
[vm] Do not mirror default values of parameters of abstract methods
...
In bytecode mode default values are part of the method body, which is
omitted for abstract methods.
In anticipation for this future change, default values of parameters of
abstract methods are no longer available through dart:mirrors.
Please also see https://github.com/dart-lang/sdk/issues/38464
Change-Id: I47742b588690ea96cb3ca636ff86e4e042bfe5a2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117299
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2019-09-18 20:12:50 +00:00
Ryan Macnak
1e28b8987d
[vm] Reify even more generics in the mirrors implementation to appease Dart 2.
...
Bug: https://github.com/dart-lang/sdk/issues/33091
Bug: https://github.com/dart-lang/sdk/issues/33098
Change-Id: Ibecce1274b9bda47e387d109a29a5af4d53adb7f
Reviewed-on: https://dart-review.googlesource.com/54704
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2018-05-11 19:18:49 +00:00
Leaf Petersen
6b3576f673
Fix fuzzy arrow issues in tests.
...
Also fixes a variety of miscellaneous accidental strong mode compile time or runtime check violations.
Change-Id: Ia8a41ac291aff3689efae0b11a9c51a2db30ef33
Reviewed-on: https://dart-review.googlesource.com/34924
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2018-01-16 23:08:01 +00:00
Ben Konyi
a7a97e41ed
Migrated test block 218 to Dart 2.0.
...
Fairly simple block, with changes made to some mirrors tests to make
them strong-mode clean. Modified test script to also accept
*_app_jit.status files.
BUG=
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/2999373002 .
2017-08-30 07:29:11 -07:00