dart-sdk/tests/language/patterns
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
..
exhaustiveness [cfe] Don't emit warnings on null-aware access on non-nullable 2024-03-20 14:04:29 +00:00
flow_analysis Flow analysis: fix handling of list pattern type promotion. 2024-05-01 17:12:00 +00:00
call_tear_off_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
call_tear_off_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
cast_from_dynamic_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
declared_variable_in_pattern_assignment_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
empty_switch_expression_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
for_in_nullable_error_test.dart Fix missing analyzer error when pattern for-in iterable is nullable. 2024-01-24 22:23:09 +00:00
guard_capture_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
guard_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
guard_scope_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
identifier_when_not_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
implicit_instantiation_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
implicit_instantiation_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
int_to_double_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
int_to_double_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
invalid_const_pattern_binary_test.dart [analyzer] Refactor visitPrefixExpression, visitNamedExpression, and visitParenthesizedExpression. 2023-06-22 20:48:48 +00:00
invalid_const_pattern_test.dart [analyzer] Refactor visitPrefixExpression, visitNamedExpression, and visitParenthesizedExpression. 2023-06-22 20:48:48 +00:00
invalid_inside_unary_pattern_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
invalid_inside_unary_pattern_parentheses_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
issue52202_error_test.dart Update CFE expectation for error test. 2023-05-01 21:27:12 +00:00
issue52409_test.dart Issue 52409. Reading a Never typed getter makes the flow unreachable. 2023-05-17 03:28:07 +00:00
issue54559_test.dart [cfe] Move hoisted variables after variable caches 2024-01-16 09:09:29 +00:00
issue_52439.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
keyword_in_pattern_variable_declaration_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
non_interface_object_pattern_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
nullable_object_pattern_error_test.dart Test object pattern behavior with nullable and potentially nullable types. 2023-05-02 18:01:53 +00:00
nullable_object_pattern_test.dart Test object pattern behavior with nullable and potentially nullable types. 2023-05-02 18:01:53 +00:00
object_pattern_inference_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
pattern_variable_constant_scope_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
primitive_switch_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
record_type_object_pattern_test.dart [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
relational_pattern_expression_precedence_error_test.dart [cfe] Don't emit warnings on null-aware access on non-nullable 2024-03-20 14:04:29 +00:00
relational_pattern_expression_precedence_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
schema_test.dart Fix pattern context type schema for cast patterns. 2024-01-31 17:23:20 +00:00
shared_case_variable_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
shared_case_variable_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
switch_case_scope_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
switch_case_scope_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
switch_expression_using_statement_syntax_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
switch_trivial_exhaustiveness_error_test.dart [cfe] Don't emit warnings on null-aware access on non-nullable 2024-03-20 14:04:29 +00:00
type_question_before_when_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
var_keyword_in_typed_variable_pattern_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
var_keyword_in_typed_wildcard_pattern_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
version_2_29_changes_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
version_2_29_changes_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
version_2_32_changes_error_test.dart [cfe] Error on variable use before declaration, not on declaration 2023-10-03 10:51:15 +00:00
wildcard_in_matching_context_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
wildcard_in_pattern_assignment_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
wildcard_in_pattern_assignment_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
wildcard_in_pattern_variable_declaration_error_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00
wildcard_in_pattern_variable_declaration_test.dart [tests] Remove obsolete Dart 3.0 experiments from language tests 2023-06-15 08:26:27 +00:00