dart-sdk/pkg/front_end/test
Paul Berry 1b18e8f5ac Flow analysis: account for initializers of implicitly typed variables.
Previously, initializers of implicitly typed variables did not
contribute to the SSA tracking performed by flow analysis (see
https://github.com/dart-lang/language/issues/1785).  This change fixes
the bug, however the fix is conditioned on the "constructor tearoffs"
language feature to avoid compatibility issues (we don't want someone
to publish a package taking advantage of the fix, without realizing
that it makes their package unusable on older SDKs).

TEST=standard trybots
Bug: https://github.com/dart-lang/language/issues/1785
Change-Id: I1143440c7a9795b059e8f4b84e3f4125cd80732c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211306
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-08-27 15:01:15 +00:00
..
analyser_ignored [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
class_hierarchy [cfe] Refactor ClassHierarchyBuilder to use Tuple for computation 2021-01-19 19:52:13 +00:00
covariance_check Remove unnecessary imports in pkg/front_end 2021-05-13 23:47:28 +00:00
enable_non_nullable [cfe] Remove isOptOutTest work-around 2021-08-04 10:44:00 +00:00
extensions [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
fasta [parser] Better error message for >>> when not enabled in some cases 2021-08-26 10:58:20 +00:00
id_testing [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
id_tests Remove unnecessary imports in pkg/front_end 2021-05-13 23:47:28 +00:00
language_versioning Remove unnecessary imports in front_end 2021-05-11 21:15:24 +00:00
patching Remove unnecessary imports in pkg/front_end 2021-05-13 23:47:28 +00:00
predicates [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
src/base [kernel] Make FileUriNode.fileUri non-nullable 2021-04-19 08:03:30 +00:00
static_types [cfe] Remove old method invocation encoding nodes 2021-07-28 15:44:04 +00:00
text_representation [cfe] Handle redirecting factory invocation in cloned expressions 2021-08-26 16:09:08 +00:00
tool [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
utils [cfe] Use 'packageConfig' instead of 'script' in an internal tool 2021-08-20 09:40:44 +00:00
ast_nodes_has_to_string_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
binary_md_dill_reader.dart [cfe] Migrate remaining front_end tools 2021-08-04 08:49:51 +00:00
binary_md_vm_tags_and_version_git_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
comments_on_certain_arguments_tool.dart [parser] Format files and add /* name = */ comments 2021-08-23 07:27:47 +00:00
compile_benchmark.dart [CFE] Attempt at 'benchmarking' intrumenter 2021-02-15 10:14:40 +00:00
compile_benchmark_helper.dart [CFE] Attempt at 'benchmarking' intrumenter 2021-02-15 10:14:40 +00:00
compile_dart2js_with_no_sdk_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
compile_with_no_sdk_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
constant_evaluator_benchmark.dart [cfe] Report all compile-time errors found during constant evaluation 2021-08-24 11:42:53 +00:00
crashing_test_case_minimizer.dart [CFE] Mark dart2js/late_statics as SemiFuzzFailure; support target=dart2js in a few tools 2021-04-29 08:36:34 +00:00
crashing_test_case_minimizer_impl.dart [parser] Add useImplicitCreationExpression 2021-08-25 11:44:53 +00:00
dartdoc_test_test.dart [CFE] Third pass at internal test utility 2021-06-28 08:27:42 +00:00
dartdoctest_suite.dart [CFE] Second pass at internal test utility 2021-06-25 08:36:45 +00:00
dartdoctest_suite.status [CFE] First pass at internal test utility 2021-06-22 08:12:58 +00:00
deps_git_test.dart [CFE] Rename tests that require git; split unit_test_suites; filter tests better 2021-01-28 07:46:10 +00:00
desugar_test.dart Add desugar API mapping extension member name to ProcedureKind 2021-08-06 00:37:51 +00:00
dijkstras_sssp_algorithm.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
dill_round_trip_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
explicit_creation_git_test.dart [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
ffi_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
flutter_gallery_leak_tester.dart [CFE] Use '_getInstancesAsArray' to find leaks 2021-06-15 10:32:54 +00:00
generated_files_up_to_date_git_test.dart [cfe] Add NodeCreator and clone test 2021-08-18 15:21:03 +00:00
hot_reload_e2e_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
incremental_bulk_compiler_full.dart [CFE] Reset compiler on crash in incremental_bulk_compiler_full test 2021-06-30 10:03:52 +00:00
incremental_bulk_compiler_smoke_suite.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
incremental_compiler_leak_test.dart [cfe] Add RedirectingFactoryTearOff(Constant) 2021-07-19 16:46:29 +00:00
incremental_dart2js_load_from_dill_test.dart [cfe] Generate equivalence visitor 2021-08-02 19:50:20 +00:00
incremental_dart2js_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
incremental_dart2js_tester.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
incremental_flutter_tester.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
incremental_load_from_invalid_dill_test.dart [CFE] Cleanup imports 2021-05-25 13:39:30 +00:00
incremental_suite.dart [CFE] Fix constant coverage for super calls 2021-07-05 10:19:07 +00:00
incremental_utils.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
issue_34856_test.dart [cfe] Verify that only new method invocation nodes are generated when supported 2021-06-23 09:41:35 +00:00
kernel_generator_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
lint_suite.dart [parser] Add useImplicitCreationExpression 2021-08-25 11:44:53 +00:00
lint_test.status [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
member_covariance_test.dart [kernel] Make FileUriNode.fileUri non-nullable 2021-04-19 08:03:30 +00:00
memory_file_system_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
messages_json_test.dart [cfe] Actually have both ansi and plain text formatted messages (2nd try) 2021-02-26 13:06:17 +00:00
mixin_export_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
multiple_simultaneous_compiles_test.dart [CFE] Cleanup imports 2021-05-25 13:39:30 +00:00
packages_format_error_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
parser_all_suite.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
parser_equivalence_suite.dart [parser] Create parser equivalence test suite for ensuring that files parse 'the same' 2021-05-05 10:17:22 +00:00
parser_suite.dart [parser] Add useImplicitCreationExpression 2021-08-25 11:44:53 +00:00
parser_test_listener.dart [cfe] Handle explicit instantiation in implicit creation syntax 2021-08-26 11:59:48 +00:00
parser_test_listener_creator.dart [cfe] Handle explicit instantiation in implicit creation syntax 2021-08-26 11:59:48 +00:00
parser_test_parser.dart [cfe] Handle explicit instantiation in implicit creation syntax 2021-08-26 11:59:48 +00:00
parser_test_parser_creator.dart [cfe] Handle explicit instantiation in implicit creation syntax 2021-08-26 11:59:48 +00:00
precedence_info_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
read_dill_from_binary_md_git_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
relativize_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
scanner_fasta_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
scanner_replacement_test.dart Remove unnecessary imports in pkg/front_end 2021-05-13 23:47:28 +00:00
scanner_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
scheme_based_file_system_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
severity_index_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
simple_stats.dart [cfe] Migrate tools that do not depend on package:vm 2021-07-28 07:41:24 +00:00
spell_checking_cleanup_lists.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
spell_checking_list_code.txt Flow analysis: account for initializers of implicitly typed variables. 2021-08-27 15:01:15 +00:00
spell_checking_list_common.txt [dart2js] Add dart:_dart2js_runtime_metrics library and package 2021-08-03 18:25:00 +00:00
spell_checking_list_denylist.txt Avoid divisive terms 2020-06-10 14:23:57 +00:00
spell_checking_list_messages.txt [cfe] Add error on static function tearoffs for instantiated classes 2021-08-13 12:47:51 +00:00
spell_checking_list_tests.txt [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
spell_checking_utils.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
spell_checking_utils_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
spelling_test.status [CFE] Spell check messages and dart code 2019-08-09 08:47:00 +00:00
spelling_test_base.dart [CFE] Cleanup imports 2021-05-25 13:39:30 +00:00
spelling_test_external_targets.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
spelling_test_not_src_suite.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
spelling_test_src_suite.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
split_dill_test.dart [cfe] Rename incremental_load/initialize_from_dill(_suite) to incremental(_suite) 2021-02-19 08:41:07 +00:00
standard_file_system_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
summary_generator_test.dart Remove unnecessary imports in pkg/front_end 2021-05-13 23:47:28 +00:00
test_generator_test.dart [CFE] Speedup test_generator_test by not verifying platform for every compile 2021-05-26 12:33:52 +00:00
testing_utils.dart [CFE] Include .crash_dart in weak tests; better handling of erroneous -D parameters and expectationFileMismatchSerialized on -DupdateExpectations=true 2021-03-19 13:34:17 +00:00
textual_outline_test.dart [CFE] Textual outline requires ScannerConfiguration 2021-02-08 12:10:27 +00:00
token_test.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
type_labeler_test.dart [cfe] Add more Kernel nodes to support constructor tear-off feature 2021-06-30 11:27:42 +00:00
unit_test_suites.dart Work around #45192 in unit_test_suites.dart 2021-03-04 13:36:36 +00:00
unit_test_suites_impl.dart [cfe] Rename ParsedArguments to ParsedOptions 2021-08-03 18:29:25 +00:00
vm_service_coverage.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
vm_service_coverage_constant_evaluator.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
vm_service_for_leak_detection.dart [CFE] Add leak test of incremental suite run to weekly bot 2021-06-15 10:33:39 +00:00
vm_service_heap_finder.dart [kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end 2021-01-18 15:40:21 +00:00
vm_service_heap_helper.dart [CFE] Use '_getInstancesAsArray' to find leaks 2021-06-15 10:32:54 +00:00
vm_service_heap_helper_test.dart [CFE] Cleanup heap helper (leak tester) and add test 2021-06-15 10:24:49 +00:00
vm_service_helper.dart [CFE] Cleanup heap helper (leak tester) and add test 2021-06-15 10:24:49 +00:00
weekly_tester.dart [CFE] Fix weekly tests didn't wait correctly 2021-06-24 15:29:49 +00:00