dart-sdk/tests/language/generic
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
..
async_star_test.dart
async_test.dart
cascaded_forwarding_stubs_generic_test.dart
closure_test.dart
conflicting_generic_interfaces_hierarchy_loop_infinite_test.dart Migrate "g" - "i" directory language tests off @compile-error. 2023-04-19 22:09:18 +00:00
conflicting_generic_interfaces_hierarchy_loop_test.dart Migrate "g" - "i" directory language tests off @compile-error. 2023-04-19 22:09:18 +00:00
conflicting_generic_interfaces_no_conflict_test.dart
conflicting_generic_interfaces_simple_test.dart Migrate "g" - "i" directory language tests off @compile-error. 2023-04-19 22:09:18 +00:00
constructor_mixin2_runtime_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
constructor_mixin2_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
constructor_mixin3_runtime_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
constructor_mixin3_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
constructor_mixin_runtime_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
constructor_mixin_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
creation_test.dart
deep_test.dart
f_bounded_equality_test.dart
f_bounded_quantification2_test.dart
f_bounded_quantification3_test.dart
f_bounded_quantification4_test.dart [web-fixit] Make generic/mixin language tests minification-agnostic 2023-11-29 21:40:21 +00:00
f_bounded_quantification5_test.dart [web-fixit] Make generic/mixin language tests minification-agnostic 2023-11-29 21:40:21 +00:00
f_bounded_quantification_runtime_test.dart
f_bounded_quantification_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
field_mixin2_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
field_mixin3_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
field_mixin4_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
field_mixin5_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
field_mixin6_runtime_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
field_mixin6_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
field_mixin_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
function_bounds_test.dart [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
function_dcall_test.dart
function_subtype_parametrized_typedef_runtime_1_test.dart
function_subtype_parametrized_typedef_runtime_2_test.dart
function_subtype_parametrized_typedef_runtime_3_test.dart
function_subtype_parametrized_typedef_runtime_test.dart
function_subtype_parametrized_typedef_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
function_subtype_runtime_1_test.dart
function_subtype_runtime_2_test.dart
function_subtype_runtime_test.dart
function_subtype_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
function_type_as_type_argument_runtime_1_test.dart
function_type_as_type_argument_runtime_test.dart
function_type_as_type_argument_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
function_typedef2_runtime_test.dart
function_typedef2_test.dart Enable non-function type aliases by default in 2.13. 2021-04-03 01:31:42 +00:00
function_typedef3_test.dart Enable non-function type aliases by default in 2.13. 2021-04-03 01:31:42 +00:00
function_typedef_test.dart
functions_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
generic2_test.dart
generic_function_type_argument_test.dart Remove references to triple-shift and generic-metadata experiments. 2021-05-12 13:35:00 +00:00
generic_metadata_test.dart Spelling tests language 2022-12-19 16:30:06 +00:00
generic_test.dart
generics2_test.dart
generics3_test.dart
generics_test.dart
inheritance_test.dart
instanceof.dart Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
instanceof2_test.dart
instanceof3_test.dart
instanceof4_test.dart
instanceof5_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
instanceof_test.dart
instantiate_tearoff_after_contravariance_check_test.dart
instantiate_tearoff_of_call_test.dart
instantiate_tearoff_test.dart [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
instantiate_to_bounds_super_bounded_test.dart
instantiate_type_variable_runtime_test.dart
instantiate_type_variable_test.dart [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
is_check_test.dart
list_checked_test.dart
local_functions_test.dart
many_generic_instanceof_test.dart
metadata_in_function_body_test.dart Report EXPERIMENT_NOT_ENABLED instead of ANNOTATION_WITH_TYPE_ARGUMENTS. 2021-08-19 20:20:26 +00:00
metadata_runtime_1_test.dart
metadata_runtime_test.dart
metadata_test.dart Report EXPERIMENT_NOT_ENABLED instead of ANNOTATION_WITH_TYPE_ARGUMENTS. 2021-08-19 20:20:26 +00:00
method_types_test.dart Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +00:00
mock_test.dart
native_test.dart
no_such_method_dispatcher_test.dart
object_type_test.dart
parameterized_extends_test.dart
recursive_generic_test.dart [web-fixit] Make generic/mixin language tests minification-agnostic 2023-11-29 21:40:21 +00:00
regress_45767_test.dart [ddc] Add missing nullability on FutureOr types 2021-05-04 19:46:51 +00:00
reify_typevar_runtime_1_test.dart
reify_typevar_runtime_2_test.dart
reify_typevar_runtime_3_test.dart
reify_typevar_runtime_test.dart
reify_typevar_static_test.dart Move errors from StaticWarningCode to CompileTimeErrorCode. 2020-07-26 04:19:25 +00:00
self_reference_test.dart
sends_test.dart
super_bounded_types_and_nested_variance_test.dart Add new tests about i2b and super-bounded types 2020-12-28 15:15:54 +00:00
super_bounded_types_and_variance_test.dart Add new tests about i2b and super-bounded types 2020-12-28 15:15:54 +00:00
super_bounded_types_error2_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
super_bounded_types_error_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
super_bounded_types_test.dart Add new tests about i2b and super-bounded types 2020-12-28 15:15:54 +00:00
sync_star_test.dart
syntax_test.dart
tearoff_test.dart
type_argument_in_super_type_test.dart
type_argument_substitution_test.dart
type_parameter_literal_test.dart
type_parameter_test.dart
typedef_test.dart Adjust typedef_test, cf. SDK issue #47561 2021-11-04 09:13:03 +00:00
wrong_number_type_arguments_runtime_test.dart
wrong_number_type_arguments_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00