dart-sdk/tests/language/closure
Tess Strickland d06d627c79 [vm] Remove --[no-]lazy-dispatchers flag.
No client of the VM uses this flag, only tests, and this flag was always
set to false in AOT mode. Thus, remove uses of this flag and instead
always lazily create dispatchers as needed when resolving method names
in JIT mode.

Remove the implicit value of `allow_add` for some Resolver
static methods. For callers that previously depended on the implicit
`true` value (which includes the AOT precompilier), pass `true` for
uses in the compiler and pass `!FLAG_precompiled_mode` for uses in the
runtime. Assert that `allow_add` is false when these methods are invoked
from the precompiled runtime.

Remove Resolver static methods that are no longer used.

TEST=ci

Change-Id: Ib6a7354f7a859e86743c381513a4129c14895753
Cq-Include-Trybots: luci.dart.try:vm-linux-debug-x64-try,vm-linux-release-x64-try,vm-aot-linux-debug-x64-try,vm-aot-linux-release-x64-try,vm-aot-mac-release-arm64-try,vm-mac-debug-arm64-try,vm-mac-release-arm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366668
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2024-06-06 10:56:12 +00:00
..
bound_closure_equality_test.dart
bound_closure_primitives_test.dart
break1_test.dart
break2_test.dart
break_test.dart
call_wrong_argument_count_test.dart
closure2_test.dart
closure3_test.dart
closure4_test.dart
closure5_test.dart
closure6_test.dart
closure7_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
closure8_test.dart
closure_test.dart
closures_initializer2_test.dart
closures_initializer_test.dart
closures_with_complex_params_test.dart
cycles_test.dart
dynamic_test.dart [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
forwarding_stub_tearoff_generic_test.dart
forwarding_stub_tearoff_test.dart
identity_equality_tearoff_test.dart Restore function object equality related tests 2021-08-06 15:31:19 +00:00
implicit1_test.dart
implicit2_test.dart
implicit_closure_test.dart
in_constructor_test.dart
in_field_initializer_test.dart
in_initializer2_test.dart
in_initializer_test.dart
instantiation_closure_equality_test.dart [dart2wasm] Fix instantiation closure equality 2023-03-08 15:42:26 +00:00
internals_runtime_test.dart
internals_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
invoked_through_interface_target_field_test.dart
invoked_through_interface_target_getter_test.dart
minify_closure_variable_collision_test.dart [dart2js] Fix language/closure/minify_closure_variable_collision_test 2023-11-29 19:51:42 +00:00
nested_generic_closure_test.dart
param_null_to_object_test.dart
param_null_to_object_weak_test.dart
parameter_types_test.dart
parse_closures_in_initializers_test.dart
partial_instantiation_eager_bounds_check_test.dart
partial_instantiation_static_bounds_check_runtime_test.dart
partial_instantiation_static_bounds_check_test.dart [cfe] Support explicit instantiation 2021-06-25 14:47:45 +00:00
partial_tearoff_instantiation_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
regress46568_test.dart [tests] Add regression tests for #46568 2021-07-19 21:49:49 +00:00
self_reference_test.dart
shared_state_test.dart
side_effect_test.dart
tearoff_bounds_instantiation_test.dart
tearoff_dynamic_test.dart Remove invalid inequal tear-off hash code test 2023-03-03 11:07:50 +00:00
tearoff_super_default_test.dart [language] Add test for super-tearoff default arguments 2021-05-28 02:48:08 +00:00
type_arguments_test.dart [dart2js] Generate parameter stubs during codegen. 2023-12-29 07:13:09 +00:00
type_test.dart
type_variable_test.dart
type_variables_test.dart
unnamed_closure_test.dart
variable_shadow_test.dart
with_super_field_test.dart Clean up uses of @virtual in tests 2020-06-26 20:33:55 +00:00
with_super_send_test.dart