From e97f1bdbf0649fc37ffabff94de8c9bd5c50096d Mon Sep 17 00:00:00 2001 From: Konstantin Shcheglov Date: Tue, 30 Mar 2021 23:39:37 +0000 Subject: [PATCH] Switch analysis_server to language 2.12, so null safety, but opt-out files. This should allow doing partial migration, specifically protocol files, which are imported by other libraries, but are a small library cycle that does not import much outside of it. Change-Id: I904c05d6d5b444ee9a9dbd1f7ada12aabdcc5165 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193583 Reviewed-by: Brian Wilkerson Commit-Queue: Konstantin Shcheglov --- .dart_tool/package_config.json | 2 +- pkg/analysis_server/benchmark/benchmarks.dart | 2 ++ pkg/analysis_server/benchmark/integration/driver.dart | 2 ++ .../benchmark/integration/input_converter.dart | 2 ++ .../integration/instrumentation_input_converter.dart | 2 ++ pkg/analysis_server/benchmark/integration/local_runner.dart | 2 ++ .../benchmark/integration/log_file_input_converter.dart | 2 ++ pkg/analysis_server/benchmark/integration/main.dart | 2 ++ pkg/analysis_server/benchmark/integration/operation.dart | 2 ++ pkg/analysis_server/benchmark/perf/benchmarks_impl.dart | 2 ++ .../benchmark/perf/flutter_analyze_benchmark.dart | 2 ++ pkg/analysis_server/benchmark/perf/memory_tests.dart | 2 ++ pkg/analysis_server/bin/server.dart | 2 ++ .../lib/lsp_protocol/protocol_custom_generated.dart | 2 ++ .../lib/lsp_protocol/protocol_generated.dart | 2 ++ pkg/analysis_server/lib/lsp_protocol/protocol_special.dart | 2 ++ .../lib/plugin/analysis/occurrences/occurrences_core.dart | 2 ++ pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart | 2 ++ pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart | 2 ++ pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart | 2 ++ pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart | 2 ++ pkg/analysis_server/lib/plugin/protocol/protocol_dart.dart | 2 ++ pkg/analysis_server/lib/protocol/protocol.dart | 2 ++ pkg/analysis_server/lib/protocol/protocol_constants.dart | 2 ++ pkg/analysis_server/lib/protocol/protocol_generated.dart | 2 ++ pkg/analysis_server/lib/src/analysis_server.dart | 2 ++ pkg/analysis_server/lib/src/analysis_server_abstract.dart | 2 ++ .../lib/src/channel/byte_stream_channel.dart | 2 ++ pkg/analysis_server/lib/src/channel/channel.dart | 2 ++ pkg/analysis_server/lib/src/cider/assists.dart | 2 ++ pkg/analysis_server/lib/src/cider/completion.dart | 2 ++ pkg/analysis_server/lib/src/cider/fixes.dart | 2 ++ pkg/analysis_server/lib/src/collections.dart | 2 ++ .../lib/src/computer/computer_closingLabels.dart | 2 ++ pkg/analysis_server/lib/src/computer/computer_folding.dart | 2 ++ .../lib/src/computer/computer_highlights.dart | 2 ++ pkg/analysis_server/lib/src/computer/computer_hover.dart | 2 ++ pkg/analysis_server/lib/src/computer/computer_outline.dart | 2 ++ .../lib/src/computer/computer_overrides.dart | 2 ++ .../lib/src/computer/computer_signature.dart | 2 ++ .../lib/src/computer/import_elements_computer.dart | 2 ++ .../lib/src/computer/imported_elements_computer.dart | 2 ++ pkg/analysis_server/lib/src/context_manager.dart | 2 ++ pkg/analysis_server/lib/src/domain_abstract.dart | 2 ++ pkg/analysis_server/lib/src/domain_analysis.dart | 2 ++ pkg/analysis_server/lib/src/domain_analytics.dart | 2 ++ pkg/analysis_server/lib/src/domain_completion.dart | 2 ++ pkg/analysis_server/lib/src/domain_diagnostic.dart | 2 ++ pkg/analysis_server/lib/src/domain_execution.dart | 2 ++ pkg/analysis_server/lib/src/domain_kythe.dart | 2 ++ pkg/analysis_server/lib/src/domain_server.dart | 2 ++ .../lib/src/domains/analysis/implemented_dart.dart | 2 ++ .../lib/src/domains/analysis/occurrences.dart | 2 ++ .../lib/src/domains/analysis/occurrences_dart.dart | 2 ++ .../lib/src/domains/completion/available_suggestions.dart | 2 ++ .../lib/src/domains/execution/completion.dart | 2 ++ pkg/analysis_server/lib/src/edit/edit_dartfix.dart | 2 ++ pkg/analysis_server/lib/src/edit/edit_domain.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/dartfix_info.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/dartfix_listener.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/dartfix_registrar.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/fix_code_task.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/fix_error_task.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/fix_lint_task.dart | 2 ++ pkg/analysis_server/lib/src/edit/fix/prefer_mixin_fix.dart | 2 ++ pkg/analysis_server/lib/src/flutter/flutter_domain.dart | 2 ++ .../lib/src/flutter/flutter_notifications.dart | 2 ++ .../lib/src/flutter/flutter_outline_computer.dart | 2 ++ .../lib/src/lsp/channel/lsp_byte_stream_channel.dart | 2 ++ pkg/analysis_server/lib/src/lsp/channel/lsp_channel.dart | 2 ++ pkg/analysis_server/lib/src/lsp/client_capabilities.dart | 2 ++ pkg/analysis_server/lib/src/lsp/client_configuration.dart | 2 ++ pkg/analysis_server/lib/src/lsp/constants.dart | 2 ++ pkg/analysis_server/lib/src/lsp/dartdoc.dart | 2 ++ .../lib/src/lsp/handlers/commands/organize_imports.dart | 2 ++ .../lib/src/lsp/handlers/commands/perform_refactor.dart | 2 ++ .../lib/src/lsp/handlers/commands/send_workspace_edit.dart | 2 ++ .../lib/src/lsp/handlers/commands/simple_edit_handler.dart | 2 ++ .../lib/src/lsp/handlers/commands/sort_members.dart | 2 ++ .../src/lsp/handlers/custom/handler_diagnostic_server.dart | 2 ++ .../lib/src/lsp/handlers/custom/handler_reanalyze.dart | 2 ++ .../lib/src/lsp/handlers/custom/handler_super.dart | 2 ++ .../lib/src/lsp/handlers/handler_cancel_request.dart | 2 ++ .../src/lsp/handlers/handler_change_workspace_folders.dart | 2 ++ .../lib/src/lsp/handlers/handler_code_actions.dart | 2 ++ .../lib/src/lsp/handlers/handler_completion.dart | 2 ++ .../lib/src/lsp/handlers/handler_completion_resolve.dart | 2 ++ .../lib/src/lsp/handlers/handler_definition.dart | 2 ++ .../lib/src/lsp/handlers/handler_document_highlights.dart | 2 ++ .../lib/src/lsp/handlers/handler_document_symbols.dart | 2 ++ .../lib/src/lsp/handlers/handler_execute_command.dart | 2 ++ pkg/analysis_server/lib/src/lsp/handlers/handler_exit.dart | 2 ++ .../lib/src/lsp/handlers/handler_folding.dart | 2 ++ .../lib/src/lsp/handlers/handler_format_on_type.dart | 2 ++ .../lib/src/lsp/handlers/handler_format_range.dart | 2 ++ .../lib/src/lsp/handlers/handler_formatting.dart | 2 ++ pkg/analysis_server/lib/src/lsp/handlers/handler_hover.dart | 2 ++ .../lib/src/lsp/handlers/handler_implementation.dart | 2 ++ .../lib/src/lsp/handlers/handler_initialize.dart | 2 ++ .../lib/src/lsp/handlers/handler_initialized.dart | 2 ++ .../lib/src/lsp/handlers/handler_references.dart | 2 ++ .../lib/src/lsp/handlers/handler_reject.dart | 2 ++ .../lib/src/lsp/handlers/handler_rename.dart | 2 ++ .../lib/src/lsp/handlers/handler_semantic_tokens.dart | 2 ++ .../lib/src/lsp/handlers/handler_shutdown.dart | 2 ++ .../lib/src/lsp/handlers/handler_signature_help.dart | 2 ++ .../lib/src/lsp/handlers/handler_states.dart | 2 ++ .../lib/src/lsp/handlers/handler_text_document_changes.dart | 2 ++ .../lib/src/lsp/handlers/handler_will_rename_files.dart | 2 ++ .../src/lsp/handlers/handler_workspace_configuration.dart | 2 ++ .../lib/src/lsp/handlers/handler_workspace_symbols.dart | 2 ++ pkg/analysis_server/lib/src/lsp/handlers/handlers.dart | 2 ++ pkg/analysis_server/lib/src/lsp/json_parsing.dart | 2 ++ pkg/analysis_server/lib/src/lsp/lsp_analysis_server.dart | 2 ++ pkg/analysis_server/lib/src/lsp/lsp_packet_transformer.dart | 2 ++ pkg/analysis_server/lib/src/lsp/lsp_socket_server.dart | 2 ++ pkg/analysis_server/lib/src/lsp/mapping.dart | 2 ++ pkg/analysis_server/lib/src/lsp/notification_manager.dart | 2 ++ pkg/analysis_server/lib/src/lsp/progress.dart | 2 ++ .../lib/src/lsp/semantic_tokens/encoder.dart | 2 ++ pkg/analysis_server/lib/src/lsp/semantic_tokens/legend.dart | 2 ++ .../lib/src/lsp/semantic_tokens/mapping.dart | 2 ++ .../lib/src/lsp/server_capabilities_computer.dart | 2 ++ pkg/analysis_server/lib/src/lsp/source_edits.dart | 2 ++ .../lib/src/operation/operation_analysis.dart | 2 ++ .../lib/src/plugin/notification_manager.dart | 2 ++ pkg/analysis_server/lib/src/plugin/plugin_locator.dart | 2 ++ pkg/analysis_server/lib/src/plugin/plugin_manager.dart | 2 ++ pkg/analysis_server/lib/src/plugin/plugin_watcher.dart | 2 ++ pkg/analysis_server/lib/src/plugin/request_converter.dart | 2 ++ pkg/analysis_server/lib/src/plugin/result_collector.dart | 2 ++ pkg/analysis_server/lib/src/plugin/result_converter.dart | 2 ++ pkg/analysis_server/lib/src/plugin/result_merger.dart | 2 ++ pkg/analysis_server/lib/src/protocol/protocol_internal.dart | 2 ++ pkg/analysis_server/lib/src/protocol_server.dart | 2 ++ .../lib/src/provisional/completion/completion_core.dart | 2 ++ .../src/provisional/completion/dart/completion_dart.dart | 2 ++ pkg/analysis_server/lib/src/search/element_references.dart | 2 ++ pkg/analysis_server/lib/src/search/search_domain.dart | 2 ++ pkg/analysis_server/lib/src/search/type_hierarchy.dart | 2 ++ pkg/analysis_server/lib/src/search/workspace_symbols.dart | 2 ++ pkg/analysis_server/lib/src/server/crash_reporting.dart | 2 ++ .../lib/src/server/crash_reporting_attachments.dart | 2 ++ .../lib/src/server/detachable_filesystem_manager.dart | 2 ++ pkg/analysis_server/lib/src/server/dev_server.dart | 2 ++ pkg/analysis_server/lib/src/server/diagnostic_server.dart | 2 ++ pkg/analysis_server/lib/src/server/driver.dart | 2 ++ pkg/analysis_server/lib/src/server/error_notifier.dart | 6 ++++++ pkg/analysis_server/lib/src/server/features.dart | 2 ++ pkg/analysis_server/lib/src/server/http_server.dart | 2 ++ .../lib/src/server/isolate_analysis_server.dart | 2 ++ pkg/analysis_server/lib/src/server/lsp_stdio_server.dart | 2 ++ pkg/analysis_server/lib/src/server/sdk_configuration.dart | 2 ++ pkg/analysis_server/lib/src/server/stdio_server.dart | 2 ++ .../lib/src/services/completion/completion_core.dart | 2 ++ .../lib/src/services/completion/completion_performance.dart | 2 ++ .../src/services/completion/dart/arglist_contributor.dart | 2 ++ .../services/completion/dart/combinator_contributor.dart | 2 ++ .../src/services/completion/dart/completion_manager.dart | 2 ++ .../completion/dart/extension_member_contributor.dart | 2 ++ .../lib/src/services/completion/dart/feature_computer.dart | 2 ++ .../services/completion/dart/field_formal_contributor.dart | 2 ++ .../completion/dart/imported_reference_contributor.dart | 2 ++ .../src/services/completion/dart/keyword_contributor.dart | 2 ++ .../lib/src/services/completion/dart/label_contributor.dart | 2 ++ .../completion/dart/library_member_contributor.dart | 2 ++ .../completion/dart/library_prefix_contributor.dart | 2 ++ .../services/completion/dart/local_library_contributor.dart | 2 ++ .../completion/dart/local_reference_contributor.dart | 2 ++ .../completion/dart/named_constructor_contributor.dart | 2 ++ .../src/services/completion/dart/override_contributor.dart | 2 ++ .../lib/src/services/completion/dart/probability_range.dart | 2 ++ .../src/services/completion/dart/relevance_tables.g.dart | 2 ++ .../services/completion/dart/static_member_contributor.dart | 2 ++ .../src/services/completion/dart/suggestion_builder.dart | 2 ++ .../services/completion/dart/type_member_contributor.dart | 2 ++ .../lib/src/services/completion/dart/uri_contributor.dart | 2 ++ .../lib/src/services/completion/dart/utilities.dart | 2 ++ .../services/completion/dart/variable_name_contributor.dart | 2 ++ .../src/services/completion/filtering/fuzzy_matcher.dart | 2 ++ .../src/services/completion/postfix/postfix_completion.dart | 2 ++ .../services/completion/statement/statement_completion.dart | 2 ++ .../completion/yaml/analysis_options_generator.dart | 2 ++ .../src/services/completion/yaml/fix_data_generator.dart | 2 ++ .../lib/src/services/completion/yaml/producer.dart | 2 ++ .../lib/src/services/completion/yaml/pubspec_generator.dart | 2 ++ .../services/completion/yaml/yaml_completion_generator.dart | 2 ++ pkg/analysis_server/lib/src/services/correction/assist.dart | 2 ++ .../lib/src/services/correction/assist_internal.dart | 2 ++ .../lib/src/services/correction/base_processor.dart | 2 ++ .../lib/src/services/correction/bulk_fix_processor.dart | 2 ++ .../lib/src/services/correction/change_workspace.dart | 2 ++ .../lib/src/services/correction/dart/abstract_producer.dart | 2 ++ .../lib/src/services/correction/dart/add_async.dart | 2 ++ .../lib/src/services/correction/dart/add_await.dart | 2 ++ .../lib/src/services/correction/dart/add_const.dart | 2 ++ .../correction/dart/add_diagnostic_property_reference.dart | 2 ++ .../lib/src/services/correction/dart/add_explicit_cast.dart | 2 ++ .../correction/dart/add_field_formal_parameters.dart | 2 ++ .../lib/src/services/correction/dart/add_late.dart | 2 ++ .../correction/dart/add_missing_enum_case_clauses.dart | 2 ++ .../src/services/correction/dart/add_missing_parameter.dart | 2 ++ .../correction/dart/add_missing_parameter_named.dart | 2 ++ .../correction/dart/add_missing_required_argument.dart | 2 ++ .../lib/src/services/correction/dart/add_ne_null.dart | 2 ++ .../src/services/correction/dart/add_not_null_assert.dart | 2 ++ .../lib/src/services/correction/dart/add_null_check.dart | 2 ++ .../lib/src/services/correction/dart/add_override.dart | 2 ++ .../lib/src/services/correction/dart/add_required.dart | 2 ++ .../src/services/correction/dart/add_required_keyword.dart | 2 ++ .../lib/src/services/correction/dart/add_return_type.dart | 2 ++ .../lib/src/services/correction/dart/add_static.dart | 2 ++ .../correction/dart/add_super_constructor_invocation.dart | 2 ++ .../src/services/correction/dart/add_type_annotation.dart | 2 ++ .../services/correction/dart/assign_to_local_variable.dart | 2 ++ .../src/services/correction/dart/change_argument_name.dart | 2 ++ .../lib/src/services/correction/dart/change_to.dart | 2 ++ .../correction/dart/change_to_nearest_precise_value.dart | 2 ++ .../services/correction/dart/change_to_static_access.dart | 2 ++ .../services/correction/dart/change_type_annotation.dart | 2 ++ .../services/correction/dart/convert_add_all_to_spread.dart | 2 ++ .../services/correction/dart/convert_class_to_mixin.dart | 2 ++ .../dart/convert_conditional_expression_to_if_element.dart | 2 ++ .../correction/dart/convert_documentation_into_block.dart | 2 ++ .../correction/dart/convert_documentation_into_line.dart | 2 ++ .../src/services/correction/dart/convert_flutter_child.dart | 2 ++ .../services/correction/dart/convert_flutter_children.dart | 2 ++ .../services/correction/dart/convert_into_async_body.dart | 2 ++ .../services/correction/dart/convert_into_block_body.dart | 2 ++ .../services/correction/dart/convert_into_final_field.dart | 2 ++ .../services/correction/dart/convert_into_for_index.dart | 2 ++ .../src/services/correction/dart/convert_into_getter.dart | 2 ++ .../src/services/correction/dart/convert_into_is_not.dart | 2 ++ .../services/correction/dart/convert_into_is_not_empty.dart | 2 ++ .../dart/convert_map_from_iterable_to_for_literal.dart | 2 ++ .../services/correction/dart/convert_part_of_to_uri.dart | 2 ++ .../lib/src/services/correction/dart/convert_quotes.dart | 2 ++ .../src/services/correction/dart/convert_to_contains.dart | 2 ++ .../dart/convert_to_expression_function_body.dart | 2 ++ .../correction/dart/convert_to_field_parameter.dart | 2 ++ .../correction/dart/convert_to_generic_function_syntax.dart | 2 ++ .../src/services/correction/dart/convert_to_if_null.dart | 2 ++ .../services/correction/dart/convert_to_int_literal.dart | 2 ++ .../services/correction/dart/convert_to_list_literal.dart | 2 ++ .../services/correction/dart/convert_to_map_literal.dart | 2 ++ .../correction/dart/convert_to_multiline_string.dart | 2 ++ .../correction/dart/convert_to_named_arguments.dart | 2 ++ .../correction/dart/convert_to_normal_parameter.dart | 2 ++ .../src/services/correction/dart/convert_to_null_aware.dart | 2 ++ .../correction/dart/convert_to_null_aware_spread.dart | 2 ++ .../src/services/correction/dart/convert_to_on_type.dart | 2 ++ .../services/correction/dart/convert_to_package_import.dart | 2 ++ .../correction/dart/convert_to_relative_import.dart | 2 ++ .../services/correction/dart/convert_to_set_literal.dart | 2 ++ .../src/services/correction/dart/convert_to_where_type.dart | 2 ++ .../lib/src/services/correction/dart/create_class.dart | 2 ++ .../src/services/correction/dart/create_constructor.dart | 2 ++ .../dart/create_constructor_for_final_fields.dart | 2 ++ .../services/correction/dart/create_constructor_super.dart | 2 ++ .../lib/src/services/correction/dart/create_field.dart | 2 ++ .../lib/src/services/correction/dart/create_file.dart | 2 ++ .../lib/src/services/correction/dart/create_function.dart | 2 ++ .../lib/src/services/correction/dart/create_getter.dart | 2 ++ .../src/services/correction/dart/create_local_variable.dart | 2 ++ .../lib/src/services/correction/dart/create_method.dart | 2 ++ .../services/correction/dart/create_method_or_function.dart | 2 ++ .../services/correction/dart/create_missing_overrides.dart | 2 ++ .../lib/src/services/correction/dart/create_mixin.dart | 2 ++ .../src/services/correction/dart/create_no_such_method.dart | 2 ++ .../lib/src/services/correction/dart/create_setter.dart | 2 ++ .../lib/src/services/correction/dart/data_driven.dart | 2 ++ .../lib/src/services/correction/dart/encapsulate_field.dart | 2 ++ .../lib/src/services/correction/dart/exchange_operands.dart | 2 ++ .../services/correction/dart/extend_class_for_mixin.dart | 2 ++ .../correction/dart/flutter_convert_to_children.dart | 2 ++ .../correction/dart/flutter_convert_to_stateful_widget.dart | 2 ++ .../lib/src/services/correction/dart/flutter_move_down.dart | 2 ++ .../lib/src/services/correction/dart/flutter_move_up.dart | 2 ++ .../src/services/correction/dart/flutter_remove_widget.dart | 2 ++ .../services/correction/dart/flutter_swap_with_child.dart | 2 ++ .../services/correction/dart/flutter_swap_with_parent.dart | 2 ++ .../lib/src/services/correction/dart/flutter_wrap.dart | 2 ++ .../src/services/correction/dart/flutter_wrap_generic.dart | 2 ++ .../correction/dart/flutter_wrap_stream_builder.dart | 2 ++ .../lib/src/services/correction/dart/import_add_show.dart | 2 ++ .../lib/src/services/correction/dart/import_library.dart | 2 ++ .../lib/src/services/correction/dart/inline_invocation.dart | 2 ++ .../lib/src/services/correction/dart/inline_typedef.dart | 2 ++ .../lib/src/services/correction/dart/insert_semicolon.dart | 2 ++ .../services/correction/dart/introduce_local_cast_type.dart | 2 ++ .../src/services/correction/dart/invert_if_statement.dart | 2 ++ .../src/services/correction/dart/join_if_with_inner.dart | 2 ++ .../src/services/correction/dart/join_if_with_outer.dart | 2 ++ .../services/correction/dart/join_variable_declaration.dart | 2 ++ .../src/services/correction/dart/make_class_abstract.dart | 2 ++ .../src/services/correction/dart/make_field_not_final.dart | 2 ++ .../lib/src/services/correction/dart/make_final.dart | 2 ++ .../services/correction/dart/make_return_type_nullable.dart | 2 ++ .../services/correction/dart/make_variable_not_final.dart | 2 ++ .../services/correction/dart/make_variable_nullable.dart | 2 ++ .../correction/dart/move_type_arguments_to_class.dart | 2 ++ .../lib/src/services/correction/dart/organize_imports.dart | 2 ++ .../lib/src/services/correction/dart/qualify_reference.dart | 2 ++ .../lib/src/services/correction/dart/remove_annotation.dart | 2 ++ .../lib/src/services/correction/dart/remove_argument.dart | 2 ++ .../lib/src/services/correction/dart/remove_await.dart | 2 ++ .../lib/src/services/correction/dart/remove_comparison.dart | 2 ++ .../lib/src/services/correction/dart/remove_const.dart | 2 ++ .../lib/src/services/correction/dart/remove_dead_code.dart | 2 ++ .../src/services/correction/dart/remove_dead_if_null.dart | 2 ++ .../src/services/correction/dart/remove_duplicate_case.dart | 2 ++ .../src/services/correction/dart/remove_empty_catch.dart | 2 ++ .../correction/dart/remove_empty_constructor_body.dart | 2 ++ .../lib/src/services/correction/dart/remove_empty_else.dart | 2 ++ .../services/correction/dart/remove_empty_statement.dart | 2 ++ .../services/correction/dart/remove_if_null_operator.dart | 2 ++ .../src/services/correction/dart/remove_initializer.dart | 2 ++ .../correction/dart/remove_interpolation_braces.dart | 2 ++ .../services/correction/dart/remove_method_declaration.dart | 2 ++ .../correction/dart/remove_name_from_combinator.dart | 2 ++ .../services/correction/dart/remove_non_null_assertion.dart | 2 ++ .../lib/src/services/correction/dart/remove_operator.dart | 2 ++ .../dart/remove_parameters_in_getter_declaration.dart | 2 ++ .../dart/remove_parentheses_in_getter_invocation.dart | 2 ++ .../src/services/correction/dart/remove_question_mark.dart | 2 ++ .../services/correction/dart/remove_this_expression.dart | 2 ++ .../services/correction/dart/remove_type_annotation.dart | 2 ++ .../src/services/correction/dart/remove_type_arguments.dart | 2 ++ .../services/correction/dart/remove_unnecessary_cast.dart | 2 ++ .../services/correction/dart/remove_unnecessary_new.dart | 2 ++ .../correction/dart/remove_unnecessary_parentheses.dart | 2 ++ .../dart/remove_unnecessary_string_interpolation.dart | 2 ++ .../lib/src/services/correction/dart/remove_unused.dart | 2 ++ .../correction/dart/remove_unused_catch_clause.dart | 2 ++ .../services/correction/dart/remove_unused_catch_stack.dart | 2 ++ .../src/services/correction/dart/remove_unused_import.dart | 2 ++ .../src/services/correction/dart/remove_unused_label.dart | 2 ++ .../correction/dart/remove_unused_local_variable.dart | 2 ++ .../services/correction/dart/remove_unused_parameter.dart | 2 ++ .../src/services/correction/dart/rename_to_camel_case.dart | 2 ++ .../services/correction/dart/replace_boolean_with_bool.dart | 2 ++ .../services/correction/dart/replace_cascade_with_dot.dart | 2 ++ .../services/correction/dart/replace_colon_with_equals.dart | 2 ++ .../correction/dart/replace_conditional_with_if_else.dart | 2 ++ .../services/correction/dart/replace_final_with_const.dart | 2 ++ .../services/correction/dart/replace_final_with_var.dart | 2 ++ .../correction/dart/replace_if_else_with_conditional.dart | 2 ++ .../services/correction/dart/replace_new_with_const.dart | 2 ++ .../services/correction/dart/replace_null_with_closure.dart | 2 ++ .../correction/dart/replace_return_type_future.dart | 2 ++ .../services/correction/dart/replace_var_with_dynamic.dart | 2 ++ .../src/services/correction/dart/replace_with_brackets.dart | 2 ++ .../dart/replace_with_conditional_assignment.dart | 2 ++ .../correction/dart/replace_with_eight_digit_hex.dart | 2 ++ .../correction/dart/replace_with_extension_name.dart | 2 ++ .../src/services/correction/dart/replace_with_filled.dart | 2 ++ .../services/correction/dart/replace_with_identifier.dart | 2 ++ .../correction/dart/replace_with_interpolation.dart | 2 ++ .../src/services/correction/dart/replace_with_is_empty.dart | 2 ++ .../correction/dart/replace_with_not_null_aware.dart | 2 ++ .../services/correction/dart/replace_with_null_aware.dart | 2 ++ .../src/services/correction/dart/replace_with_tear_off.dart | 2 ++ .../lib/src/services/correction/dart/replace_with_var.dart | 2 ++ .../lib/src/services/correction/dart/shadow_field.dart | 2 ++ .../services/correction/dart/sort_child_property_last.dart | 2 ++ .../src/services/correction/dart/split_and_condition.dart | 2 ++ .../correction/dart/split_variable_declaration.dart | 2 ++ .../lib/src/services/correction/dart/surround_with.dart | 2 ++ .../services/correction/dart/update_sdk_constraints.dart | 2 ++ .../lib/src/services/correction/dart/use_const.dart | 2 ++ .../lib/src/services/correction/dart/use_curly_braces.dart | 2 ++ .../correction/dart/use_effective_integer_division.dart | 2 ++ .../lib/src/services/correction/dart/use_eq_eq_null.dart | 2 ++ .../lib/src/services/correction/dart/use_is_not_empty.dart | 2 ++ .../lib/src/services/correction/dart/use_not_eq_null.dart | 2 ++ .../lib/src/services/correction/dart/use_rethrow.dart | 2 ++ .../lib/src/services/correction/dart/wrap_in_future.dart | 2 ++ .../lib/src/services/correction/dart/wrap_in_text.dart | 2 ++ .../lib/src/services/correction/executable_parameters.dart | 2 ++ pkg/analysis_server/lib/src/services/correction/fix.dart | 2 ++ .../correction/fix/analysis_options/fix_generator.dart | 2 ++ .../correction/fix/dart/top_level_declarations.dart | 2 ++ .../src/services/correction/fix/data_driven/accessor.dart | 2 ++ .../correction/fix/data_driven/add_type_parameter.dart | 2 ++ .../lib/src/services/correction/fix/data_driven/change.dart | 2 ++ .../correction/fix/data_driven/changes_selector.dart | 2 ++ .../correction/fix/data_driven/code_fragment_parser.dart | 2 ++ .../services/correction/fix/data_driven/code_template.dart | 2 ++ .../correction/fix/data_driven/element_descriptor.dart | 2 ++ .../services/correction/fix/data_driven/element_kind.dart | 2 ++ .../correction/fix/data_driven/element_matcher.dart | 2 ++ .../src/services/correction/fix/data_driven/expression.dart | 2 ++ .../correction/fix/data_driven/modify_parameters.dart | 2 ++ .../correction/fix/data_driven/parameter_reference.dart | 2 ++ .../lib/src/services/correction/fix/data_driven/rename.dart | 2 ++ .../correction/fix/data_driven/rename_parameter.dart | 2 ++ .../src/services/correction/fix/data_driven/transform.dart | 2 ++ .../correction/fix/data_driven/transform_override.dart | 2 ++ .../correction/fix/data_driven/transform_override_set.dart | 2 ++ .../fix/data_driven/transform_override_set_parser.dart | 2 ++ .../services/correction/fix/data_driven/transform_set.dart | 2 ++ .../fix/data_driven/transform_set_error_code.dart | 2 ++ .../correction/fix/data_driven/transform_set_manager.dart | 2 ++ .../correction/fix/data_driven/transform_set_parser.dart | 2 ++ .../correction/fix/data_driven/value_generator.dart | 2 ++ .../services/correction/fix/data_driven/variable_scope.dart | 2 ++ .../src/services/correction/fix/manifest/fix_generator.dart | 2 ++ .../src/services/correction/fix/pubspec/fix_generator.dart | 2 ++ .../lib/src/services/correction/fix_internal.dart | 2 ++ .../lib/src/services/correction/levenshtein.dart | 2 ++ .../lib/src/services/correction/name_suggestion.dart | 2 ++ .../lib/src/services/correction/namespace.dart | 2 ++ .../lib/src/services/correction/organize_imports.dart | 2 ++ .../lib/src/services/correction/selection_analyzer.dart | 2 ++ .../lib/src/services/correction/sort_members.dart | 2 ++ .../lib/src/services/correction/source_buffer.dart | 2 ++ .../lib/src/services/correction/statement_analyzer.dart | 2 ++ pkg/analysis_server/lib/src/services/correction/status.dart | 2 ++ pkg/analysis_server/lib/src/services/correction/util.dart | 2 ++ .../lib/src/services/flutter/class_description.dart | 2 ++ pkg/analysis_server/lib/src/services/flutter/property.dart | 2 ++ .../lib/src/services/flutter/widget_descriptions.dart | 2 ++ .../lib/src/services/kythe/kythe_visitors.dart | 2 ++ pkg/analysis_server/lib/src/services/kythe/schema.dart | 2 ++ pkg/analysis_server/lib/src/services/linter/lint_names.dart | 2 ++ pkg/analysis_server/lib/src/services/pub/pub_api.dart | 2 ++ .../lib/src/services/pub/pub_package_service.dart | 2 ++ .../src/services/refactoring/convert_getter_to_method.dart | 2 ++ .../src/services/refactoring/convert_method_to_getter.dart | 2 ++ .../lib/src/services/refactoring/extract_local.dart | 2 ++ .../lib/src/services/refactoring/extract_method.dart | 2 ++ .../lib/src/services/refactoring/extract_widget.dart | 2 ++ .../lib/src/services/refactoring/inline_local.dart | 2 ++ .../lib/src/services/refactoring/inline_method.dart | 2 ++ .../lib/src/services/refactoring/move_file.dart | 2 ++ .../lib/src/services/refactoring/naming_conventions.dart | 2 ++ .../lib/src/services/refactoring/refactoring.dart | 2 ++ .../lib/src/services/refactoring/refactoring_internal.dart | 2 ++ .../lib/src/services/refactoring/rename.dart | 2 ++ .../lib/src/services/refactoring/rename_class_member.dart | 2 ++ .../lib/src/services/refactoring/rename_constructor.dart | 2 ++ .../src/services/refactoring/rename_extension_member.dart | 2 ++ .../lib/src/services/refactoring/rename_import.dart | 2 ++ .../lib/src/services/refactoring/rename_label.dart | 2 ++ .../lib/src/services/refactoring/rename_library.dart | 2 ++ .../lib/src/services/refactoring/rename_local.dart | 2 ++ .../lib/src/services/refactoring/rename_unit_member.dart | 2 ++ .../src/services/refactoring/visible_ranges_computer.dart | 2 ++ .../lib/src/services/search/element_visitors.dart | 2 ++ pkg/analysis_server/lib/src/services/search/hierarchy.dart | 2 ++ .../lib/src/services/search/search_engine.dart | 2 ++ .../lib/src/services/search/search_engine_internal.dart | 2 ++ pkg/analysis_server/lib/src/socket_server.dart | 2 ++ pkg/analysis_server/lib/src/status/ast_writer.dart | 2 ++ pkg/analysis_server/lib/src/status/diagnostics.dart | 2 ++ pkg/analysis_server/lib/src/status/element_writer.dart | 2 ++ pkg/analysis_server/lib/src/status/pages.dart | 2 ++ pkg/analysis_server/lib/src/status/tree_writer.dart | 2 ++ pkg/analysis_server/lib/src/utilities/extensions/ast.dart | 2 ++ .../lib/src/utilities/extensions/element.dart | 2 ++ .../lib/src/utilities/extensions/numeric.dart | 2 ++ pkg/analysis_server/lib/src/utilities/extensions/yaml.dart | 2 ++ pkg/analysis_server/lib/src/utilities/file_string_sink.dart | 2 ++ pkg/analysis_server/lib/src/utilities/flutter.dart | 2 ++ pkg/analysis_server/lib/src/utilities/mocks.dart | 2 ++ pkg/analysis_server/lib/src/utilities/null_string_sink.dart | 2 ++ pkg/analysis_server/lib/src/utilities/profiling.dart | 2 ++ .../lib/src/utilities/request_statistics.dart | 2 ++ pkg/analysis_server/lib/src/utilities/strings.dart | 2 ++ pkg/analysis_server/lib/src/utilities/tee_string_sink.dart | 2 ++ .../lib/src/utilities/yaml_node_locator.dart | 2 ++ pkg/analysis_server/lib/starter.dart | 2 ++ pkg/analysis_server/pubspec.yaml | 2 +- pkg/analysis_server/test/abstract_context.dart | 2 ++ pkg/analysis_server/test/abstract_single_unit.dart | 2 ++ pkg/analysis_server/test/analysis/get_errors_test.dart | 2 ++ pkg/analysis_server/test/analysis/get_hover_test.dart | 2 ++ pkg/analysis_server/test/analysis/get_navigation_test.dart | 2 ++ pkg/analysis_server/test/analysis/get_signature_test.dart | 2 ++ .../test/analysis/notification_analysis_options_test.dart | 2 ++ .../test/analysis/notification_analyzed_files_test.dart | 2 ++ .../test/analysis/notification_closing_labels_test.dart | 2 ++ .../test/analysis/notification_errors_test.dart | 2 ++ .../test/analysis/notification_folding_test.dart | 2 ++ .../test/analysis/notification_highlights2_test.dart | 2 ++ .../test/analysis/notification_implemented_test.dart | 2 ++ .../test/analysis/notification_navigation_test.dart | 2 ++ .../test/analysis/notification_occurrences_test.dart | 2 ++ .../test/analysis/notification_outline_test.dart | 2 ++ .../test/analysis/notification_overrides_test.dart | 2 ++ pkg/analysis_server/test/analysis/reanalyze_test.dart | 2 ++ .../test/analysis/set_priority_files_test.dart | 2 ++ pkg/analysis_server/test/analysis/test_all.dart | 2 ++ pkg/analysis_server/test/analysis/update_content_test.dart | 2 ++ pkg/analysis_server/test/analysis_abstract.dart | 2 ++ pkg/analysis_server/test/analysis_server_test.dart | 2 ++ .../test/channel/byte_stream_channel_test.dart | 2 ++ pkg/analysis_server/test/channel/test_all.dart | 2 ++ pkg/analysis_server/test/client/completion_driver_test.dart | 2 ++ pkg/analysis_server/test/client/impl/abstract_client.dart | 2 ++ pkg/analysis_server/test/client/impl/completion_driver.dart | 2 ++ pkg/analysis_server/test/client/impl/expect_mixin.dart | 2 ++ pkg/analysis_server/test/client/test_all.dart | 2 ++ pkg/analysis_server/test/completion_test.dart | 2 ++ pkg/analysis_server/test/completion_test_support.dart | 2 ++ pkg/analysis_server/test/constants.dart | 2 ++ pkg/analysis_server/test/domain_analysis_test.dart | 2 ++ pkg/analysis_server/test/domain_completion_test.dart | 2 ++ pkg/analysis_server/test/domain_completion_util.dart | 2 ++ pkg/analysis_server/test/domain_diagnostic_test.dart | 2 ++ pkg/analysis_server/test/domain_edit_dartfix_test.dart | 2 ++ pkg/analysis_server/test/domain_execution_test.dart | 2 ++ pkg/analysis_server/test/domain_server_test.dart | 2 ++ pkg/analysis_server/test/edit/assists_test.dart | 2 ++ pkg/analysis_server/test/edit/bulk_fixes_test.dart | 2 ++ pkg/analysis_server/test/edit/fixes_test.dart | 2 ++ pkg/analysis_server/test/edit/format_test.dart | 2 ++ pkg/analysis_server/test/edit/organize_directives_test.dart | 2 ++ pkg/analysis_server/test/edit/postfix_completion_test.dart | 2 ++ pkg/analysis_server/test/edit/refactoring_test.dart | 2 ++ pkg/analysis_server/test/edit/sort_members_test.dart | 2 ++ .../test/edit/statement_completion_test.dart | 2 ++ pkg/analysis_server/test/edit/test_all.dart | 2 ++ .../test/integration/analysis/analysis_options_test.dart | 2 ++ .../test/integration/analysis/error_test.dart | 2 ++ .../analysis/get_errors_non_standard_sdk_test.dart | 2 ++ .../test/integration/analysis/get_errors_test.dart | 2 ++ .../test/integration/analysis/get_hover_test.dart | 2 ++ .../integration/analysis/get_imported_elements_test.dart | 2 ++ .../integration/analysis/get_library_dependencies_test.dart | 2 ++ .../test/integration/analysis/get_navigation_test.dart | 2 ++ .../integration/analysis/get_reachable_sources_test.dart | 2 ++ .../test/integration/analysis/highlights_test.dart | 2 ++ .../hint_sdk_version_async_exported_from_core_test.dart | 2 ++ .../test/integration/analysis/lint_test.dart | 2 ++ .../test/integration/analysis/navigation_test.dart | 2 ++ .../test/integration/analysis/occurrences_test.dart | 2 ++ .../test/integration/analysis/outline_test.dart | 2 ++ .../test/integration/analysis/overrides_test.dart | 2 ++ .../test/integration/analysis/package_root_test.dart | 2 ++ .../integration/analysis/reanalyze_concurrent_test.dart | 2 ++ .../test/integration/analysis/reanalyze_test.dart | 2 ++ .../test/integration/analysis/set_analysis_roots_test.dart | 2 ++ .../analysis/set_general_subscriptions_test.dart | 2 ++ .../test/integration/analysis/set_priority_files_test.dart | 2 ++ .../test/integration/analysis/set_subscriptions_test.dart | 2 ++ pkg/analysis_server/test/integration/analysis/test_all.dart | 2 ++ .../test/integration/analysis/update_content_list_test.dart | 2 ++ .../test/integration/analysis/update_content_test.dart | 2 ++ .../test/integration/analysis/update_options_test.dart | 2 ++ .../test/integration/analytics/enable_test.dart | 2 ++ .../test/integration/analytics/is_enabled_test.dart | 2 ++ .../test/integration/analytics/send_event_test.dart | 2 ++ .../test/integration/analytics/send_timing_test.dart | 2 ++ .../test/integration/analytics/test_all.dart | 2 ++ .../test/integration/completion/get_suggestions_test.dart | 2 ++ .../test/integration/completion/test_all.dart | 2 ++ pkg/analysis_server/test/integration/coverage_test.dart | 2 ++ .../test/integration/diagnostic/get_diagnostics_test.dart | 2 ++ .../test/integration/diagnostic/get_server_port_test.dart | 2 ++ .../test/integration/diagnostic/test_all.dart | 2 ++ .../test/integration/edit/bulk_fixes_test.dart | 2 ++ pkg/analysis_server/test/integration/edit/dartfix_test.dart | 2 ++ pkg/analysis_server/test/integration/edit/format_test.dart | 2 ++ .../test/integration/edit/get_assists_test.dart | 2 ++ .../integration/edit/get_available_refactorings_test.dart | 2 ++ .../test/integration/edit/get_dartfix_info_test.dart | 2 ++ .../test/integration/edit/get_fixes_test.dart | 2 ++ .../test/integration/edit/get_postfix_completion_test.dart | 2 ++ .../test/integration/edit/get_refactoring_test.dart | 2 ++ .../integration/edit/get_statement_completion_test.dart | 2 ++ .../test/integration/edit/import_elements_test.dart | 2 ++ .../edit/is_postfix_completion_applicable_test.dart | 2 ++ .../edit/list_postfix_completion_templates_test.dart | 2 ++ .../test/integration/edit/organize_directives_test.dart | 2 ++ .../test/integration/edit/sort_members_test.dart | 2 ++ pkg/analysis_server/test/integration/edit/test_all.dart | 2 ++ .../test/integration/execution/create_context_test.dart | 2 ++ .../test/integration/execution/delete_context_test.dart | 2 ++ .../test/integration/execution/map_uri_test.dart | 2 ++ .../test/integration/execution/set_subscriptions_test.dart | 2 ++ .../test/integration/execution/test_all.dart | 2 ++ .../test/integration/kythe/get_kythe_entries_test.dart | 2 ++ pkg/analysis_server/test/integration/kythe/test_all.dart | 2 ++ .../test/integration/linter/lint_names_test.dart | 2 ++ pkg/analysis_server/test/integration/linter/test_all.dart | 2 ++ .../test/integration/lsp_server/analyzer_status_test.dart | 2 ++ .../test/integration/lsp_server/diagnostic_test.dart | 2 ++ .../test/integration/lsp_server/initialization_test.dart | 2 ++ .../test/integration/lsp_server/integration_tests.dart | 2 ++ .../test/integration/lsp_server/server_test.dart | 2 ++ .../test/integration/lsp_server/test_all.dart | 2 ++ .../integration/search/find_element_references_test.dart | 2 ++ .../integration/search/find_member_declarations_test.dart | 2 ++ .../integration/search/find_member_references_test.dart | 2 ++ .../search/find_top_level_declarations_test.dart | 2 ++ .../test/integration/search/get_type_hierarchy_test.dart | 2 ++ pkg/analysis_server/test/integration/search/test_all.dart | 2 ++ .../test/integration/server/bazel_changes_test.dart | 2 ++ .../test/integration/server/get_version_test.dart | 2 ++ .../server/set_subscriptions_invalid_service_test.dart | 2 ++ .../test/integration/server/set_subscriptions_test.dart | 2 ++ .../test/integration/server/shutdown_test.dart | 2 ++ .../test/integration/server/status_test.dart | 2 ++ pkg/analysis_server/test/integration/server/test_all.dart | 2 ++ .../test/integration/support/integration_test_methods.dart | 2 ++ .../test/integration/support/integration_tests.dart | 2 ++ .../test/integration/support/protocol_matchers.dart | 2 ++ pkg/analysis_server/test/integration/test_all.dart | 2 ++ pkg/analysis_server/test/lsp/analyzer_status_test.dart | 2 ++ pkg/analysis_server/test/lsp/cancel_request_test.dart | 2 ++ .../test/lsp/change_workspace_folders_test.dart | 2 ++ pkg/analysis_server/test/lsp/closing_labels_test.dart | 2 ++ pkg/analysis_server/test/lsp/code_actions_abstract.dart | 2 ++ pkg/analysis_server/test/lsp/code_actions_assists_test.dart | 2 ++ pkg/analysis_server/test/lsp/code_actions_fixes_test.dart | 2 ++ .../test/lsp/code_actions_refactor_test.dart | 2 ++ pkg/analysis_server/test/lsp/code_actions_source_test.dart | 2 ++ pkg/analysis_server/test/lsp/completion.dart | 2 ++ pkg/analysis_server/test/lsp/completion_dart_test.dart | 2 ++ pkg/analysis_server/test/lsp/completion_yaml_test.dart | 2 ++ pkg/analysis_server/test/lsp/configuration_test.dart | 2 ++ pkg/analysis_server/test/lsp/definition_test.dart | 2 ++ pkg/analysis_server/test/lsp/diagnostic_test.dart | 2 ++ pkg/analysis_server/test/lsp/document_changes_test.dart | 2 ++ pkg/analysis_server/test/lsp/document_highlights_test.dart | 2 ++ pkg/analysis_server/test/lsp/document_symbols_test.dart | 2 ++ pkg/analysis_server/test/lsp/file_modification_test.dart | 2 ++ pkg/analysis_server/test/lsp/flutter_outline_test.dart | 2 ++ pkg/analysis_server/test/lsp/folding_test.dart | 2 ++ pkg/analysis_server/test/lsp/format_test.dart | 2 ++ pkg/analysis_server/test/lsp/hover_test.dart | 2 ++ pkg/analysis_server/test/lsp/implementation_test.dart | 2 ++ pkg/analysis_server/test/lsp/initialization_test.dart | 2 ++ pkg/analysis_server/test/lsp/mapping_test.dart | 2 ++ pkg/analysis_server/test/lsp/outline_test.dart | 2 ++ pkg/analysis_server/test/lsp/priority_files_test.dart | 2 ++ pkg/analysis_server/test/lsp/pub_package_service_test.dart | 2 ++ pkg/analysis_server/test/lsp/reanalyze_test.dart | 2 ++ pkg/analysis_server/test/lsp/references_test.dart | 2 ++ pkg/analysis_server/test/lsp/rename_test.dart | 2 ++ pkg/analysis_server/test/lsp/semantic_tokens_test.dart | 2 ++ pkg/analysis_server/test/lsp/server_abstract.dart | 2 ++ pkg/analysis_server/test/lsp/server_test.dart | 2 ++ pkg/analysis_server/test/lsp/signature_help_test.dart | 2 ++ pkg/analysis_server/test/lsp/super_test.dart | 2 ++ pkg/analysis_server/test/lsp/test_all.dart | 2 ++ pkg/analysis_server/test/lsp/will_rename_files_test.dart | 2 ++ pkg/analysis_server/test/lsp/workspace_symbols_test.dart | 2 ++ pkg/analysis_server/test/mocks.dart | 2 ++ pkg/analysis_server/test/plugin/protocol_dart_test.dart | 2 ++ pkg/analysis_server/test/plugin/test_all.dart | 2 ++ pkg/analysis_server/test/protocol_server_test.dart | 2 ++ pkg/analysis_server/test/protocol_test.dart | 2 ++ pkg/analysis_server/test/search/abstract_search_domain.dart | 2 ++ pkg/analysis_server/test/search/declarations_test.dart | 2 ++ .../test/search/element_references_test.dart | 2 ++ .../test/search/member_declarations_test.dart | 2 ++ pkg/analysis_server/test/search/member_references_test.dart | 2 ++ pkg/analysis_server/test/search/search_result_test.dart | 2 ++ pkg/analysis_server/test/search/test_all.dart | 2 ++ .../test/search/top_level_declarations_test.dart | 2 ++ pkg/analysis_server/test/search/type_hierarchy_test.dart | 2 ++ .../services/completion/dart/arglist_contributor_test.dart | 2 ++ .../completion/dart/combinator_contributor_test.dart | 2 ++ .../completion/dart/completion_contributor_util.dart | 2 ++ .../services/completion/dart/completion_manager_test.dart | 2 ++ .../completion/dart/extension_member_contributor_test.dart | 2 ++ .../completion/dart/field_formal_contributor_test.dart | 2 ++ .../dart/imported_reference_contributor_test.dart | 2 ++ .../services/completion/dart/keyword_contributor_test.dart | 2 ++ .../services/completion/dart/label_contributor_test.dart | 2 ++ .../completion/dart/library_member_contributor_test.dart | 2 ++ .../completion/dart/library_prefix_contributor_test.dart | 2 ++ .../completion/dart/local_library_contributor_test.dart | 2 ++ .../completion/dart/local_reference_contributor_test.dart | 2 ++ .../completion/dart/named_constructor_contributor_test.dart | 2 ++ .../services/completion/dart/override_contributor_test.dart | 2 ++ .../completion/dart/relevance/bool_assignment_test.dart | 2 ++ .../completion/dart/relevance/completion_relevance.dart | 2 ++ .../completion/dart/relevance/deprecated_member_test.dart | 2 ++ .../completion/dart/relevance/instance_member_test.dart | 2 ++ .../completion/dart/relevance/is_no_such_method_test.dart | 2 ++ .../completion/dart/relevance/local_variable_test.dart | 2 ++ .../completion/dart/relevance/named_argument_test.dart | 2 ++ .../completion/dart/relevance/non_type_member_test.dart | 2 ++ .../completion/dart/relevance/static_member_test.dart | 2 ++ .../test/services/completion/dart/relevance/test_all.dart | 2 ++ .../completion/dart/static_member_contributor_test.dart | 2 ++ .../test/services/completion/dart/test_all.dart | 2 ++ .../completion/dart/type_member_contributor_test.dart | 2 ++ .../test/services/completion/dart/uri_contributor_test.dart | 2 ++ .../completion/dart/variable_name_contributor_test.dart | 2 ++ .../completion/postfix/postfix_completion_test.dart | 2 ++ .../test/services/completion/postfix/test_all.dart | 2 ++ .../completion/statement/statement_completion_test.dart | 2 ++ .../test/services/completion/statement/test_all.dart | 2 ++ pkg/analysis_server/test/services/completion/test_all.dart | 2 ++ .../test/services/correction/change_test.dart | 2 ++ .../test/services/correction/levenshtein_test.dart | 2 ++ .../test/services/correction/name_suggestion_test.dart | 2 ++ .../test/services/correction/organize_directives_test.dart | 2 ++ .../test/services/correction/sort_members_test.dart | 2 ++ .../test/services/correction/status_test.dart | 2 ++ pkg/analysis_server/test/services/correction/test_all.dart | 2 ++ pkg/analysis_server/test/services/correction/util_test.dart | 2 ++ pkg/analysis_server/test/services/linter/linter_test.dart | 2 ++ pkg/analysis_server/test/services/linter/test_all.dart | 2 ++ .../test/services/refactoring/abstract_refactoring.dart | 2 ++ .../test/services/refactoring/abstract_rename.dart | 2 ++ .../services/refactoring/convert_getter_to_method_test.dart | 2 ++ .../services/refactoring/convert_method_to_getter_test.dart | 2 ++ .../test/services/refactoring/extract_local_test.dart | 2 ++ .../test/services/refactoring/extract_method_test.dart | 2 ++ .../test/services/refactoring/extract_widget_test.dart | 2 ++ .../test/services/refactoring/inline_local_test.dart | 2 ++ .../test/services/refactoring/inline_method_test.dart | 2 ++ .../test/services/refactoring/move_file_test.dart | 2 ++ .../test/services/refactoring/naming_conventions_test.dart | 2 ++ .../test/services/refactoring/rename_class_member_test.dart | 2 ++ .../test/services/refactoring/rename_constructor_test.dart | 2 ++ .../services/refactoring/rename_extension_member_test.dart | 2 ++ .../test/services/refactoring/rename_import_test.dart | 2 ++ .../test/services/refactoring/rename_label_test.dart | 2 ++ .../test/services/refactoring/rename_library_test.dart | 2 ++ .../test/services/refactoring/rename_local_test.dart | 2 ++ .../test/services/refactoring/rename_unit_member_test.dart | 2 ++ pkg/analysis_server/test/services/refactoring/test_all.dart | 2 ++ .../test/services/search/element_visitors_test.dart | 2 ++ .../test/services/search/hierarchy_test.dart | 2 ++ .../test/services/search/search_engine_test.dart | 2 ++ pkg/analysis_server/test/services/search/test_all.dart | 2 ++ pkg/analysis_server/test/services/test_all.dart | 2 ++ pkg/analysis_server/test/socket_server_test.dart | 2 ++ pkg/analysis_server/test/src/cider/assists_test.dart | 2 ++ pkg/analysis_server/test/src/cider/cider_service.dart | 2 ++ pkg/analysis_server/test/src/cider/completion_test.dart | 2 ++ pkg/analysis_server/test/src/cider/fixes_test.dart | 2 ++ pkg/analysis_server/test/src/cider/test_all.dart | 2 ++ .../test/src/computer/closing_labels_computer_test.dart | 2 ++ .../test/src/computer/folding_computer_test.dart | 2 ++ .../test/src/computer/highlights_computer_test.dart | 2 ++ .../test/src/computer/import_elements_computer_test.dart | 2 ++ .../test/src/computer/imported_elements_computer_test.dart | 2 ++ .../test/src/computer/outline_computer_test.dart | 2 ++ pkg/analysis_server/test/src/computer/test_all.dart | 2 ++ pkg/analysis_server/test/src/domain_abstract_test.dart | 2 ++ .../domains/completion/available_suggestion_sets_test.dart | 2 ++ .../src/domains/completion/available_suggestions_base.dart | 2 ++ .../src/domains/completion/get_suggestion_details_test.dart | 2 ++ .../domains/completion/get_suggestions_available_test.dart | 2 ++ .../test/src/domains/completion/test_all.dart | 2 ++ .../test/src/domains/execution/completion_test.dart | 2 ++ .../test/src/domains/execution/test_all.dart | 2 ++ pkg/analysis_server/test/src/domains/flutter/base.dart | 2 ++ .../src/domains/flutter/get_widget_description_test.dart | 2 ++ .../test/src/domains/flutter/set_property_value_test.dart | 2 ++ pkg/analysis_server/test/src/domains/flutter/test_all.dart | 2 ++ pkg/analysis_server/test/src/domains/test_all.dart | 2 ++ .../test/src/flutter/flutter_outline_computer_test.dart | 2 ++ .../test/src/flutter/flutter_outline_notification_test.dart | 2 ++ pkg/analysis_server/test/src/flutter/test_all.dart | 2 ++ .../test/src/lsp/lsp_packet_transformer_test.dart | 2 ++ pkg/analysis_server/test/src/lsp/test_all.dart | 2 ++ .../test/src/plugin/notification_manager_test.dart | 2 ++ .../test/src/plugin/plugin_locator_test.dart | 2 ++ .../test/src/plugin/plugin_manager_test.dart | 2 ++ .../test/src/plugin/plugin_watcher_test.dart | 2 ++ .../test/src/plugin/protocol_test_utilities.dart | 2 ++ .../test/src/plugin/request_converter_test.dart | 2 ++ .../test/src/plugin/result_collector_test.dart | 2 ++ .../test/src/plugin/result_converter_test.dart | 2 ++ pkg/analysis_server/test/src/plugin/result_merger_test.dart | 2 ++ pkg/analysis_server/test/src/plugin/test_all.dart | 2 ++ .../test/src/server/sdk_configuration_test.dart | 2 ++ pkg/analysis_server/test/src/server/test_all.dart | 2 ++ .../test/src/services/completion/dart/completion_test.dart | 2 ++ .../src/services/completion/dart/feature_computer_test.dart | 2 ++ .../test/src/services/completion/dart/test_all.dart | 2 ++ .../services/completion/filtering/fuzzy_matcher_test.dart | 2 ++ .../test/src/services/completion/filtering/test_all.dart | 2 ++ .../test/src/services/completion/test_all.dart | 2 ++ .../completion/yaml/analysis_options_generator_test.dart | 2 ++ .../services/completion/yaml/fix_data_generator_test.dart | 2 ++ .../services/completion/yaml/pubspec_generator_test.dart | 2 ++ .../test/src/services/completion/yaml/test_all.dart | 2 ++ .../completion/yaml/yaml_generator_test_support.dart | 2 ++ .../assist/add_diagnostic_property_reference_test.dart | 2 ++ .../correction/assist/add_not_null_assert_test.dart | 2 ++ .../services/correction/assist/add_return_type_test.dart | 2 ++ .../correction/assist/add_type_annotation_test.dart | 2 ++ .../correction/assist/assign_to_local_variable_test.dart | 2 ++ .../src/services/correction/assist/assist_processor.dart | 2 ++ .../correction/assist/convert_class_to_mixin_test.dart | 2 ++ .../assist/convert_documentation_into_block_test.dart | 2 ++ .../assist/convert_documentation_into_line_test.dart | 2 ++ .../correction/assist/convert_into_async_body_test.dart | 2 ++ .../correction/assist/convert_into_block_body_test.dart | 2 ++ .../assist/convert_into_expression_body_test.dart | 2 ++ .../correction/assist/convert_into_final_field_test.dart | 2 ++ .../correction/assist/convert_into_for_index_test.dart | 2 ++ .../assist/convert_into_generic_function_syntax_test.dart | 2 ++ .../correction/assist/convert_into_getter_test.dart | 2 ++ .../correction/assist/convert_into_is_not_empty_test.dart | 2 ++ .../correction/assist/convert_into_is_not_test.dart | 2 ++ .../correction/assist/convert_part_of_to_uri_test.dart | 2 ++ .../assist/convert_to_double_quoted_string_test.dart | 2 ++ .../correction/assist/convert_to_field_parameter_test.dart | 2 ++ .../correction/assist/convert_to_for_element_test.dart | 2 ++ .../correction/assist/convert_to_if_element_test.dart | 2 ++ .../correction/assist/convert_to_int_literal_test.dart | 2 ++ .../correction/assist/convert_to_list_literal_test.dart | 2 ++ .../correction/assist/convert_to_map_literal_test.dart | 2 ++ .../correction/assist/convert_to_multiline_string_test.dart | 2 ++ .../correction/assist/convert_to_normal_parameter_test.dart | 2 ++ .../correction/assist/convert_to_null_aware_test.dart | 2 ++ .../correction/assist/convert_to_package_import_test.dart | 2 ++ .../correction/assist/convert_to_set_literal_test.dart | 2 ++ .../assist/convert_to_single_quoted_string_test.dart | 2 ++ .../services/correction/assist/convert_to_spread_test.dart | 2 ++ .../services/correction/assist/encapsulate_field_test.dart | 2 ++ .../services/correction/assist/exchange_operands_test.dart | 2 ++ .../correction/assist/flutter_convert_to_children_test.dart | 2 ++ .../assist/flutter_convert_to_stateful_widget_test.dart | 2 ++ .../services/correction/assist/flutter_move_down_test.dart | 2 ++ .../services/correction/assist/flutter_move_up_test.dart | 2 ++ .../correction/assist/flutter_remove_widget_test.dart | 2 ++ .../assist/flutter_surround_with_set_state_test.dart | 2 ++ .../correction/assist/flutter_swap_with_child_test.dart | 2 ++ .../correction/assist/flutter_swap_with_parent_test.dart | 2 ++ .../correction/assist/flutter_wrap_center_test.dart | 2 ++ .../correction/assist/flutter_wrap_column_test.dart | 2 ++ .../correction/assist/flutter_wrap_container_test.dart | 2 ++ .../correction/assist/flutter_wrap_generic_test.dart | 2 ++ .../correction/assist/flutter_wrap_padding_test.dart | 2 ++ .../services/correction/assist/flutter_wrap_row_test.dart | 2 ++ .../correction/assist/flutter_wrap_sized_box_test.dart | 2 ++ .../correction/assist/flutter_wrap_stream_builder_test.dart | 2 ++ .../services/correction/assist/import_add_show_test.dart | 2 ++ .../services/correction/assist/inline_invocation_test.dart | 2 ++ .../correction/assist/introduce_local_cast_type_test.dart | 2 ++ .../correction/assist/invert_if_statement_test.dart | 2 ++ .../services/correction/assist/join_if_with_inner_test.dart | 2 ++ .../services/correction/assist/join_if_with_outer_test.dart | 2 ++ .../correction/assist/join_variable_declaration_test.dart | 2 ++ .../correction/assist/remove_type_annotation_test.dart | 2 ++ .../assist/replace_conditional_with_if_else_test.dart | 2 ++ .../assist/replace_if_else_with_conditional_test.dart | 2 ++ .../services/correction/assist/replace_with_var_test.dart | 2 ++ .../src/services/correction/assist/shadow_field_test.dart | 2 ++ .../correction/assist/sort_child_property_last_test.dart | 2 ++ .../correction/assist/split_and_condition_test.dart | 2 ++ .../correction/assist/split_variable_declaration_test.dart | 2 ++ .../correction/assist/surround_with_block_test.dart | 2 ++ .../correction/assist/surround_with_do_while_test.dart | 2 ++ .../correction/assist/surround_with_for_in_test.dart | 2 ++ .../services/correction/assist/surround_with_for_test.dart | 2 ++ .../services/correction/assist/surround_with_if_test.dart | 2 ++ .../correction/assist/surround_with_try_catch_test.dart | 2 ++ .../correction/assist/surround_with_try_finally_test.dart | 2 ++ .../correction/assist/surround_with_while_test.dart | 2 ++ .../test/src/services/correction/assist/test_all.dart | 2 ++ .../services/correction/assist/use_curly_braces_test.dart | 2 ++ .../test/src/services/correction/fix/add_async_test.dart | 2 ++ .../test/src/services/correction/fix/add_await_test.dart | 2 ++ .../test/src/services/correction/fix/add_const_test.dart | 2 ++ .../src/services/correction/fix/add_curly_braces_test.dart | 2 ++ .../fix/add_diagnostic_property_reference_test.dart | 2 ++ .../src/services/correction/fix/add_explicit_cast_test.dart | 2 ++ .../correction/fix/add_field_formal_parameters_test.dart | 2 ++ .../test/src/services/correction/fix/add_late_test.dart | 2 ++ .../correction/fix/add_missing_enum_case_clauses_test.dart | 2 ++ .../correction/fix/add_missing_parameter_named_test.dart | 2 ++ .../fix/add_missing_parameter_positional_test.dart | 2 ++ .../correction/fix/add_missing_parameter_required_test.dart | 2 ++ .../correction/fix/add_missing_required_argument_test.dart | 2 ++ .../test/src/services/correction/fix/add_ne_null_test.dart | 2 ++ .../src/services/correction/fix/add_null_check_test.dart | 2 ++ .../test/src/services/correction/fix/add_override_test.dart | 2 ++ .../test/src/services/correction/fix/add_required_test.dart | 2 ++ .../src/services/correction/fix/add_return_type_test.dart | 2 ++ .../test/src/services/correction/fix/add_static_test.dart | 2 ++ .../fix/add_super_constructor_invocation_test.dart | 2 ++ .../services/correction/fix/add_type_annotation_test.dart | 2 ++ .../correction/fix/analysis_options/remove_lint_test.dart | 2 ++ .../fix/analysis_options/remove_setting_test.dart | 2 ++ .../services/correction/fix/analysis_options/test_all.dart | 2 ++ .../correction/fix/analysis_options/test_support.dart | 2 ++ .../src/services/correction/fix/bulk/add_await_test.dart | 2 ++ .../src/services/correction/fix/bulk/add_const_test.dart | 2 ++ .../fix/bulk/add_diagnostic_property_reference_test.dart | 2 ++ .../src/services/correction/fix/bulk/add_override_test.dart | 2 ++ .../src/services/correction/fix/bulk/add_required_test.dart | 2 ++ .../services/correction/fix/bulk/bulk_fix_processor.dart | 2 ++ .../correction/fix/bulk/bulk_fix_processor_test.dart | 2 ++ .../fix/bulk/convert_documentation_into_line_test.dart | 2 ++ .../bulk/convert_map_from_iterable_to_for_literal_test.dart | 2 ++ .../correction/fix/bulk/convert_to_contains_test.dart | 2 ++ .../fix/bulk/convert_to_generic_function_syntax_test.dart | 2 ++ .../correction/fix/bulk/convert_to_if_element_test.dart | 2 ++ .../correction/fix/bulk/convert_to_if_null_test.dart | 2 ++ .../correction/fix/bulk/convert_to_int_literal_test.dart | 2 ++ .../correction/fix/bulk/convert_to_is_not_test.dart | 2 ++ .../correction/fix/bulk/convert_to_list_literal_test.dart | 2 ++ .../correction/fix/bulk/convert_to_map_literal_test.dart | 2 ++ .../correction/fix/bulk/convert_to_null_aware_test.dart | 2 ++ .../correction/fix/bulk/convert_to_package_import_test.dart | 2 ++ .../fix/bulk/convert_to_relative_import_test.dart | 2 ++ .../correction/fix/bulk/convert_to_set_literal_test.dart | 2 ++ .../fix/bulk/convert_to_single_quoted_strings_test.dart | 2 ++ .../correction/fix/bulk/convert_to_spread_test.dart | 2 ++ .../correction/fix/bulk/convert_to_where_type_test.dart | 2 ++ .../services/correction/fix/bulk/create_method_test.dart | 2 ++ .../src/services/correction/fix/bulk/data_driven_test.dart | 2 ++ .../correction/fix/bulk/inline_invocation_test.dart | 2 ++ .../services/correction/fix/bulk/inline_typedef_test.dart | 2 ++ .../src/services/correction/fix/bulk/make_final_test.dart | 2 ++ .../services/correction/fix/bulk/remove_argument_test.dart | 2 ++ .../src/services/correction/fix/bulk/remove_await_test.dart | 2 ++ .../correction/fix/bulk/remove_duplicate_case_test.dart | 2 ++ .../correction/fix/bulk/remove_empty_catch_test.dart | 2 ++ .../fix/bulk/remove_empty_constructor_body_test.dart | 2 ++ .../correction/fix/bulk/remove_empty_else_test.dart | 2 ++ .../correction/fix/bulk/remove_empty_statement_test.dart | 2 ++ .../correction/fix/bulk/remove_if_null_operator_test.dart | 2 ++ .../correction/fix/bulk/remove_initializer_test.dart | 2 ++ .../fix/bulk/remove_interpolation_braces_test.dart | 2 ++ .../correction/fix/bulk/remove_method_declaration_test.dart | 2 ++ .../correction/fix/bulk/remove_non_null_assertion_test.dart | 2 ++ .../services/correction/fix/bulk/remove_operator_test.dart | 2 ++ .../correction/fix/bulk/remove_question_mark_test.dart | 2 ++ .../correction/fix/bulk/remove_this_expression_test.dart | 2 ++ .../correction/fix/bulk/remove_type_annotation_test.dart | 2 ++ .../correction/fix/bulk/remove_unnecessary_const_test.dart | 2 ++ .../correction/fix/bulk/remove_unnecessary_new_test.dart | 2 ++ .../bulk/remove_unnecessary_string_interpolation_test.dart | 2 ++ .../correction/fix/bulk/rename_to_camel_case_test.dart | 2 ++ .../correction/fix/bulk/replace_colon_with_equals_test.dart | 2 ++ .../correction/fix/bulk/replace_final_with_const_test.dart | 2 ++ .../correction/fix/bulk/replace_new_with_const_test.dart | 2 ++ .../correction/fix/bulk/replace_null_with_closure_test.dart | 2 ++ .../fix/bulk/replace_with_conditional_assignment_test.dart | 2 ++ .../correction/fix/bulk/replace_with_is_empty_test.dart | 2 ++ .../correction/fix/bulk/replace_with_tear_off_test.dart | 2 ++ .../services/correction/fix/bulk/replace_with_var_test.dart | 2 ++ .../fix/bulk/sort_child_properties_last_test.dart | 2 ++ .../test/src/services/correction/fix/bulk/test_all.dart | 2 ++ .../services/correction/fix/bulk/use_curly_braces_test.dart | 2 ++ .../services/correction/fix/bulk/use_is_not_empty_test.dart | 2 ++ .../src/services/correction/fix/bulk/use_rethrow_test.dart | 2 ++ .../services/correction/fix/change_argument_name_test.dart | 2 ++ .../fix/change_to_nearest_precise_value_test.dart | 2 ++ .../correction/fix/change_to_static_access_test.dart | 2 ++ .../test/src/services/correction/fix/change_to_test.dart | 2 ++ .../correction/fix/change_type_annotation_test.dart | 2 ++ .../fix/convert_documentation_into_line_test.dart | 2 ++ .../services/correction/fix/convert_flutter_child_test.dart | 2 ++ .../correction/fix/convert_flutter_children_test.dart | 2 ++ .../correction/fix/convert_into_expression_body_test.dart | 2 ++ .../services/correction/fix/convert_to_contains_test.dart | 2 ++ .../correction/fix/convert_to_for_element_test.dart | 2 ++ .../fix/convert_to_generic_function_syntax_test.dart | 2 ++ .../services/correction/fix/convert_to_if_element_test.dart | 2 ++ .../services/correction/fix/convert_to_if_null_test.dart | 2 ++ .../correction/fix/convert_to_int_literal_test.dart | 2 ++ .../correction/fix/convert_to_list_literal_test.dart | 2 ++ .../correction/fix/convert_to_map_literal_test.dart | 2 ++ .../correction/fix/convert_to_named_arguments_test.dart | 2 ++ .../correction/fix/convert_to_null_aware_spread_test.dart | 2 ++ .../services/correction/fix/convert_to_null_aware_test.dart | 2 ++ .../services/correction/fix/convert_to_on_type_test.dart | 2 ++ .../correction/fix/convert_to_package_import_test.dart | 2 ++ .../correction/fix/convert_to_relative_import_test.dart | 2 ++ .../correction/fix/convert_to_set_literal_test.dart | 2 ++ .../fix/convert_to_single_quoted_string_test.dart | 2 ++ .../src/services/correction/fix/convert_to_spread_test.dart | 2 ++ .../services/correction/fix/convert_to_where_type_test.dart | 2 ++ .../test/src/services/correction/fix/create_class_test.dart | 2 ++ .../fix/create_constructor_for_final_fields_test.dart | 2 ++ .../correction/fix/create_constructor_super_test.dart | 2 ++ .../services/correction/fix/create_constructor_test.dart | 2 ++ .../test/src/services/correction/fix/create_field_test.dart | 2 ++ .../test/src/services/correction/fix/create_file_test.dart | 2 ++ .../src/services/correction/fix/create_function_test.dart | 2 ++ .../src/services/correction/fix/create_getter_test.dart | 2 ++ .../services/correction/fix/create_local_variable_test.dart | 2 ++ .../src/services/correction/fix/create_method_test.dart | 2 ++ .../correction/fix/create_missing_overrides_test.dart | 2 ++ .../test/src/services/correction/fix/create_mixin_test.dart | 2 ++ .../services/correction/fix/create_no_such_method_test.dart | 2 ++ .../src/services/correction/fix/create_setter_test.dart | 2 ++ .../correction/fix/data_driven/add_type_parameter_test.dart | 2 ++ .../fix/data_driven/code_fragment_parser_test.dart | 2 ++ .../correction/fix/data_driven/code_template_test.dart | 2 ++ .../fix/data_driven/data_driven_test_support.dart | 2 ++ .../fix/data_driven/diagnostics/conflicting_key_test.dart | 2 ++ .../fix/data_driven/diagnostics/expected_primary_test.dart | 2 ++ .../fix/data_driven/diagnostics/invalid_character_test.dart | 2 ++ .../fix/data_driven/diagnostics/invalid_key_test.dart | 2 ++ .../diagnostics/invalid_parameter_style_test.dart | 2 ++ .../data_driven/diagnostics/invalid_required_if_test.dart | 2 ++ .../data_driven/diagnostics/invalid_value_one_of_test.dart | 2 ++ .../fix/data_driven/diagnostics/invalid_value_test.dart | 2 ++ .../fix/data_driven/diagnostics/missing_key_test.dart | 2 ++ .../diagnostics/missing_one_of_multiple_keys_test.dart | 2 ++ .../data_driven/diagnostics/missing_template_end_test.dart | 2 ++ .../fix/data_driven/diagnostics/missing_token_test.dart | 2 ++ .../fix/data_driven/diagnostics/missing_uri_test.dart | 2 ++ .../correction/fix/data_driven/diagnostics/test_all.dart | 2 ++ .../data_driven/diagnostics/undefined_variable_test.dart | 2 ++ .../fix/data_driven/diagnostics/unexpected_token_test.dart | 2 ++ .../fix/data_driven/diagnostics/unknown_accessor_test.dart | 2 ++ .../fix/data_driven/diagnostics/unsupported_key_test.dart | 2 ++ .../data_driven/diagnostics/unsupported_version_test.dart | 2 ++ .../fix/data_driven/diagnostics/wrong_token_test.dart | 2 ++ .../fix/data_driven/diagnostics/yaml_syntax_error_test.dart | 2 ++ .../correction/fix/data_driven/element_matcher_test.dart | 2 ++ .../correction/fix/data_driven/end_to_end_test.dart | 2 ++ .../correction/fix/data_driven/flutter_use_case_test.dart | 2 ++ .../correction/fix/data_driven/modify_parameters_test.dart | 2 ++ .../correction/fix/data_driven/rename_parameter_test.dart | 2 ++ .../services/correction/fix/data_driven/rename_test.dart | 2 ++ .../services/correction/fix/data_driven/sdk_fix_test.dart | 2 ++ .../src/services/correction/fix/data_driven/test_all.dart | 2 ++ .../fix/data_driven/transform_override_set_parser_test.dart | 2 ++ .../fix/data_driven/transform_set_manager_test.dart | 2 ++ .../fix/data_driven/transform_set_parser_test.dart | 2 ++ .../fix/data_driven/transform_set_parser_test_support.dart | 2 ++ .../correction/fix/extend_class_for_mixin_test.dart | 2 ++ .../test/src/services/correction/fix/fix_in_file_test.dart | 2 ++ .../test/src/services/correction/fix/fix_processor.dart | 2 ++ .../test/src/services/correction/fix/fix_test.dart | 2 ++ .../test/src/services/correction/fix/import_async_test.dart | 2 ++ .../services/correction/fix/import_library_prefix_test.dart | 2 ++ .../correction/fix/import_library_project_test.dart | 2 ++ .../services/correction/fix/import_library_sdk_test.dart | 2 ++ .../services/correction/fix/import_library_show_test.dart | 2 ++ .../src/services/correction/fix/inline_invocation_test.dart | 2 ++ .../src/services/correction/fix/inline_typedef_test.dart | 2 ++ .../src/services/correction/fix/insert_semicolon_test.dart | 2 ++ .../services/correction/fix/make_class_abstract_test.dart | 2 ++ .../services/correction/fix/make_field_not_final_test.dart | 2 ++ .../test/src/services/correction/fix/make_final_test.dart | 2 ++ .../correction/fix/make_return_type_nullable_test.dart | 2 ++ .../correction/fix/make_variable_not_final_test.dart | 2 ++ .../correction/fix/make_variable_nullable_test.dart | 2 ++ .../correction/fix/move_type_arguments_to_class_test.dart | 2 ++ .../src/services/correction/fix/organize_imports_test.dart | 2 ++ .../src/services/correction/fix/qualify_reference_test.dart | 2 ++ .../src/services/correction/fix/remove_annotation_test.dart | 2 ++ .../src/services/correction/fix/remove_argument_test.dart | 2 ++ .../test/src/services/correction/fix/remove_await_test.dart | 2 ++ .../src/services/correction/fix/remove_comparison_test.dart | 2 ++ .../test/src/services/correction/fix/remove_const_test.dart | 2 ++ .../src/services/correction/fix/remove_dead_code_test.dart | 2 ++ .../services/correction/fix/remove_duplicate_case_test.dart | 2 ++ .../services/correction/fix/remove_empty_catch_test.dart | 2 ++ .../correction/fix/remove_empty_constructor_body_test.dart | 2 ++ .../src/services/correction/fix/remove_empty_else_test.dart | 2 ++ .../correction/fix/remove_empty_statement_test.dart | 2 ++ .../correction/fix/remove_if_null_operator_test.dart | 2 ++ .../services/correction/fix/remove_initializer_test.dart | 2 ++ .../correction/fix/remove_interpolation_braces_test.dart | 2 ++ .../correction/fix/remove_method_declaration_test.dart | 2 ++ .../correction/fix/remove_name_from_combinator_test.dart | 2 ++ .../correction/fix/remove_non_null_assertion_test.dart | 2 ++ .../src/services/correction/fix/remove_operator_test.dart | 2 ++ .../fix/remove_parameters_in_getter_declaration_test.dart | 2 ++ .../fix/remove_parentheses_in_getter_invocation_test.dart | 2 ++ .../services/correction/fix/remove_question_mark_test.dart | 2 ++ .../correction/fix/remove_this_expression_test.dart | 2 ++ .../correction/fix/remove_type_annotation_test.dart | 2 ++ .../services/correction/fix/remove_type_arguments_test.dart | 2 ++ .../correction/fix/remove_unnecessary_cast_test.dart | 2 ++ .../correction/fix/remove_unnecessary_const_test.dart | 2 ++ .../correction/fix/remove_unnecessary_new_test.dart | 2 ++ .../correction/fix/remove_unnecessary_parentheses_test.dart | 2 ++ .../fix/remove_unnecessary_string_interpolation_test.dart | 2 ++ .../correction/fix/remove_unused_catch_clause_test.dart | 2 ++ .../correction/fix/remove_unused_catch_stack_test.dart | 2 ++ .../services/correction/fix/remove_unused_element_test.dart | 2 ++ .../services/correction/fix/remove_unused_field_test.dart | 2 ++ .../services/correction/fix/remove_unused_import_test.dart | 2 ++ .../services/correction/fix/remove_unused_label_test.dart | 2 ++ .../correction/fix/remove_unused_local_variable_test.dart | 2 ++ .../correction/fix/remove_unused_parameter_test.dart | 2 ++ .../services/correction/fix/rename_to_camel_case_test.dart | 2 ++ .../correction/fix/replace_boolean_with_bool_test.dart | 2 ++ .../correction/fix/replace_cascade_with_dot_test.dart | 2 ++ .../correction/fix/replace_colon_with_equals_test.dart | 2 ++ .../correction/fix/replace_final_with_const_test.dart | 2 ++ .../correction/fix/replace_final_with_var_test.dart | 2 ++ .../correction/fix/replace_new_with_const_test.dart | 2 ++ .../correction/fix/replace_null_with_closure_test.dart | 2 ++ .../correction/fix/replace_return_type_future_test.dart | 2 ++ .../correction/fix/replace_var_with_dynamic_test.dart | 2 ++ .../services/correction/fix/replace_with_brackets_test.dart | 2 ++ .../fix/replace_with_conditional_assignment_test.dart | 2 ++ .../correction/fix/replace_with_eight_digit_hex_test.dart | 2 ++ .../correction/fix/replace_with_extension_name_test.dart | 2 ++ .../services/correction/fix/replace_with_filled_test.dart | 2 ++ .../correction/fix/replace_with_identifier_test.dart | 2 ++ .../correction/fix/replace_with_interpolation_test.dart | 2 ++ .../services/correction/fix/replace_with_is_empty_test.dart | 2 ++ .../correction/fix/replace_with_is_not_empty_test.dart | 2 ++ .../correction/fix/replace_with_not_null_aware_test.dart | 2 ++ .../correction/fix/replace_with_null_aware_test.dart | 2 ++ .../services/correction/fix/replace_with_tear_off_test.dart | 2 ++ .../src/services/correction/fix/replace_with_var_test.dart | 2 ++ .../correction/fix/sort_child_property_last_test.dart | 2 ++ .../test/src/services/correction/fix/test_all.dart | 2 ++ .../correction/fix/update_sdk_constraints_test.dart | 2 ++ .../test/src/services/correction/fix/use_const_test.dart | 2 ++ .../correction/fix/use_effective_integer_division_test.dart | 2 ++ .../src/services/correction/fix/use_eq_eq_null_test.dart | 2 ++ .../src/services/correction/fix/use_is_not_empty_test.dart | 2 ++ .../src/services/correction/fix/use_not_eq_null_test.dart | 2 ++ .../test/src/services/correction/fix/use_rethrow_test.dart | 2 ++ .../src/services/correction/fix/wrap_in_future_test.dart | 2 ++ .../test/src/services/correction/fix/wrap_in_text_test.dart | 2 ++ .../test/src/services/correction/test_all.dart | 2 ++ .../test/src/services/flutter/constants.dart | 2 ++ .../src/services/flutter/container_properties_test.dart | 2 ++ pkg/analysis_server/test/src/services/flutter/test_all.dart | 2 ++ .../test/src/services/flutter/widget_description.dart | 2 ++ .../test/src/services/flutter/widget_descriptions_test.dart | 2 ++ pkg/analysis_server/test/src/services/test_all.dart | 2 ++ pkg/analysis_server/test/src/test_all.dart | 2 ++ pkg/analysis_server/test/src/utilities/flutter_test.dart | 2 ++ pkg/analysis_server/test/src/utilities/mock_packages.dart | 2 ++ pkg/analysis_server/test/src/utilities/profiling_test.dart | 2 ++ pkg/analysis_server/test/src/utilities/strings_test.dart | 2 ++ pkg/analysis_server/test/src/utilities/test_all.dart | 2 ++ pkg/analysis_server/test/stress/completion/completion.dart | 2 ++ .../test/stress/completion/completion_runner.dart | 2 ++ pkg/analysis_server/test/stress/replay/operation.dart | 2 ++ pkg/analysis_server/test/stress/replay/replay.dart | 2 ++ pkg/analysis_server/test/stress/utilities/git.dart | 2 ++ pkg/analysis_server/test/stress/utilities/logger.dart | 2 ++ pkg/analysis_server/test/stress/utilities/server.dart | 2 ++ pkg/analysis_server/test/test_all.dart | 2 ++ .../test/timing/completion/completion_simple.dart | 2 ++ pkg/analysis_server/test/timing/timing_framework.dart | 2 ++ .../test/tool/completion_metrics/metrics_util_test.dart | 2 ++ .../test/tool/completion_metrics/test_all.dart | 2 ++ pkg/analysis_server/test/tool/lsp_spec/dart_test.dart | 2 ++ .../test/tool/lsp_spec/generated_classes_test.dart | 2 ++ pkg/analysis_server/test/tool/lsp_spec/json_test.dart | 2 ++ pkg/analysis_server/test/tool/lsp_spec/markdown_test.dart | 2 ++ pkg/analysis_server/test/tool/lsp_spec/matchers.dart | 2 ++ pkg/analysis_server/test/tool/lsp_spec/test_all.dart | 2 ++ pkg/analysis_server/test/tool/lsp_spec/typescript_test.dart | 2 ++ pkg/analysis_server/test/tool/test_all.dart | 2 ++ .../test/utils/test_instrumentation_service.dart | 2 ++ pkg/analysis_server/test/utils/test_support.dart | 2 ++ pkg/analysis_server/test/verify_sorted_test.dart | 2 ++ pkg/analysis_server/test/verify_tests_test.dart | 2 ++ pkg/analysis_server/tool/bulk_fix/supported_lints.dart | 2 ++ pkg/analysis_server/tool/code_completion/code_metrics.dart | 2 ++ .../tool/code_completion/completion_metrics.dart | 2 ++ pkg/analysis_server/tool/code_completion/corpus.dart | 2 ++ .../tool/code_completion/flutter_metrics.dart | 2 ++ .../tool/code_completion/implicit_type_declarations.dart | 2 ++ pkg/analysis_server/tool/code_completion/metrics_util.dart | 2 ++ .../tool/code_completion/output_utilities.dart | 2 ++ .../tool/code_completion/relevance_metrics.dart | 2 ++ .../tool/code_completion/relevance_table_generator.dart | 4 ++++ pkg/analysis_server/tool/code_completion/visitors.dart | 2 ++ pkg/analysis_server/tool/instrumentation/log/log.dart | 2 ++ pkg/analysis_server/tool/instrumentation/log_viewer.dart | 2 ++ pkg/analysis_server/tool/instrumentation/page/log_page.dart | 2 ++ .../tool/instrumentation/page/page_writer.dart | 2 ++ .../tool/instrumentation/page/stats_page.dart | 2 ++ pkg/analysis_server/tool/instrumentation/server.dart | 2 ++ pkg/analysis_server/tool/lsp_spec/codegen_dart.dart | 2 ++ pkg/analysis_server/tool/lsp_spec/generate_all.dart | 4 ++++ pkg/analysis_server/tool/lsp_spec/markdown.dart | 2 ++ pkg/analysis_server/tool/lsp_spec/typescript.dart | 2 ++ pkg/analysis_server/tool/lsp_spec/typescript_parser.dart | 2 ++ pkg/analysis_server/tool/migration_runner.dart | 2 ++ pkg/analysis_server/tool/spec/api.dart | 2 ++ pkg/analysis_server/tool/spec/check_all_test.dart | 2 ++ pkg/analysis_server/tool/spec/codegen_analysis_server.dart | 2 ++ pkg/analysis_server/tool/spec/codegen_dart.dart | 2 ++ .../tool/spec/codegen_dart_notification_handler.dart | 4 ++++ pkg/analysis_server/tool/spec/codegen_dart_protocol.dart | 4 ++++ pkg/analysis_server/tool/spec/codegen_inttest_methods.dart | 4 ++++ pkg/analysis_server/tool/spec/codegen_java.dart | 2 ++ pkg/analysis_server/tool/spec/codegen_java_types.dart | 2 ++ pkg/analysis_server/tool/spec/codegen_matchers.dart | 4 ++++ .../tool/spec/codegen_protocol_constants.dart | 4 ++++ pkg/analysis_server/tool/spec/from_html.dart | 2 ++ pkg/analysis_server/tool/spec/generate_all.dart | 2 ++ pkg/analysis_server/tool/spec/implied_types.dart | 2 ++ pkg/analysis_server/tool/spec/to_html.dart | 2 ++ .../lib/handler/notification_handler.dart | 2 ++ .../lib/src/protocol/protocol_constants.dart | 2 ++ .../lib/src/protocol/protocol_generated.dart | 2 ++ 1198 files changed, 2412 insertions(+), 2 deletions(-) diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index 056b6541042..3c57af1bd0f 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -70,7 +70,7 @@ "name": "analysis_server", "rootUri": "../pkg/analysis_server", "packageUri": "lib/", - "languageVersion": "2.6" + "languageVersion": "2.12" }, { "name": "analysis_server_client", diff --git a/pkg/analysis_server/benchmark/benchmarks.dart b/pkg/analysis_server/benchmark/benchmarks.dart index 1dd12cba6d2..52762209df5 100644 --- a/pkg/analysis_server/benchmark/benchmarks.dart +++ b/pkg/analysis_server/benchmark/benchmarks.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; import 'dart:math' as math; diff --git a/pkg/analysis_server/benchmark/integration/driver.dart b/pkg/analysis_server/benchmark/integration/driver.dart index 0bb18c10ac4..6e831aa0ff9 100644 --- a/pkg/analysis_server/benchmark/integration/driver.dart +++ b/pkg/analysis_server/benchmark/integration/driver.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:math' show max, sqrt; diff --git a/pkg/analysis_server/benchmark/integration/input_converter.dart b/pkg/analysis_server/benchmark/integration/input_converter.dart index 7f7ca06eb64..e128456bac5 100644 --- a/pkg/analysis_server/benchmark/integration/input_converter.dart +++ b/pkg/analysis_server/benchmark/integration/input_converter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/benchmark/integration/instrumentation_input_converter.dart b/pkg/analysis_server/benchmark/integration/instrumentation_input_converter.dart index e2f01d3d179..2cd878362f9 100644 --- a/pkg/analysis_server/benchmark/integration/instrumentation_input_converter.dart +++ b/pkg/analysis_server/benchmark/integration/instrumentation_input_converter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analyzer/exception/exception.dart'; diff --git a/pkg/analysis_server/benchmark/integration/local_runner.dart b/pkg/analysis_server/benchmark/integration/local_runner.dart index 857d422ce8c..e8353b22ebd 100644 --- a/pkg/analysis_server/benchmark/integration/local_runner.dart +++ b/pkg/analysis_server/benchmark/integration/local_runner.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:path/path.dart'; diff --git a/pkg/analysis_server/benchmark/integration/log_file_input_converter.dart b/pkg/analysis_server/benchmark/integration/log_file_input_converter.dart index 6ec1a4fabdb..238a1fa7a5b 100644 --- a/pkg/analysis_server/benchmark/integration/log_file_input_converter.dart +++ b/pkg/analysis_server/benchmark/integration/log_file_input_converter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analyzer/exception/exception.dart'; diff --git a/pkg/analysis_server/benchmark/integration/main.dart b/pkg/analysis_server/benchmark/integration/main.dart index 8006da8b83f..c1c9911e5ab 100644 --- a/pkg/analysis_server/benchmark/integration/main.dart +++ b/pkg/analysis_server/benchmark/integration/main.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/benchmark/integration/operation.dart b/pkg/analysis_server/benchmark/integration/operation.dart index 7532df2871c..eb70f441c97 100644 --- a/pkg/analysis_server/benchmark/integration/operation.dart +++ b/pkg/analysis_server/benchmark/integration/operation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart b/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart index fab085006a5..1a59fa6bae6 100644 --- a/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart +++ b/pkg/analysis_server/benchmark/perf/benchmarks_impl.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; diff --git a/pkg/analysis_server/benchmark/perf/flutter_analyze_benchmark.dart b/pkg/analysis_server/benchmark/perf/flutter_analyze_benchmark.dart index e0008e8928e..171aab663f0 100644 --- a/pkg/analysis_server/benchmark/perf/flutter_analyze_benchmark.dart +++ b/pkg/analysis_server/benchmark/perf/flutter_analyze_benchmark.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/benchmark/perf/memory_tests.dart b/pkg/analysis_server/benchmark/perf/memory_tests.dart index c78c6147e14..9a2c30cec81 100644 --- a/pkg/analysis_server/benchmark/perf/memory_tests.dart +++ b/pkg/analysis_server/benchmark/perf/memory_tests.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert' show jsonDecode, jsonEncode; import 'dart:io'; diff --git a/pkg/analysis_server/bin/server.dart b/pkg/analysis_server/bin/server.dart index 78101010bf1..a873eb11ba2 100644 --- a/pkg/analysis_server/bin/server.dart +++ b/pkg/analysis_server/bin/server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/starter.dart'; /// Create and run an analysis server. diff --git a/pkg/analysis_server/lib/lsp_protocol/protocol_custom_generated.dart b/pkg/analysis_server/lib/lsp_protocol/protocol_custom_generated.dart index beaf3f53bdb..53800ded586 100644 --- a/pkg/analysis_server/lib/lsp_protocol/protocol_custom_generated.dart +++ b/pkg/analysis_server/lib/lsp_protocol/protocol_custom_generated.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + // This file has been automatically generated. Please do not edit it manually. // To regenerate the file, use the script // "pkg/analysis_server/tool/lsp_spec/generate_all.dart". diff --git a/pkg/analysis_server/lib/lsp_protocol/protocol_generated.dart b/pkg/analysis_server/lib/lsp_protocol/protocol_generated.dart index 03bb36c66ba..ec98cde6768 100644 --- a/pkg/analysis_server/lib/lsp_protocol/protocol_generated.dart +++ b/pkg/analysis_server/lib/lsp_protocol/protocol_generated.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + // This file has been automatically generated. Please do not edit it manually. // To regenerate the file, use the script // "pkg/analysis_server/tool/lsp_spec/generate_all.dart". diff --git a/pkg/analysis_server/lib/lsp_protocol/protocol_special.dart b/pkg/analysis_server/lib/lsp_protocol/protocol_special.dart index bd9b513274c..e1f48382204 100644 --- a/pkg/analysis_server/lib/lsp_protocol/protocol_special.dart +++ b/pkg/analysis_server/lib/lsp_protocol/protocol_special.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/plugin/analysis/occurrences/occurrences_core.dart b/pkg/analysis_server/lib/plugin/analysis/occurrences/occurrences_core.dart index 7483aa42977..afc2f1a54f6 100644 --- a/pkg/analysis_server/lib/plugin/analysis/occurrences/occurrences_core.dart +++ b/pkg/analysis_server/lib/plugin/analysis/occurrences/occurrences_core.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart' show Occurrences; /// An object used to record occurrences into. diff --git a/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart b/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart index c4469eaf42b..113cbcfd8b1 100644 --- a/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart +++ b/pkg/analysis_server/lib/plugin/edit/assist/assist_core.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart' show SourceChange; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart b/pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart index 3154306cd0b..b8a994699e4 100644 --- a/pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart +++ b/pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/instrumentation/service.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_workspace.dart'; diff --git a/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart b/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart index f3873dc4e91..db3b1b883ab 100644 --- a/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart +++ b/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/error/error.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' show SourceChange; diff --git a/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart b/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart index 4792bedd941..50658b4c55c 100644 --- a/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart +++ b/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; import 'package:analysis_server/src/services/correction/fix/dart/top_level_declarations.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/lib/plugin/protocol/protocol_dart.dart b/pkg/analysis_server/lib/plugin/protocol/protocol_dart.dart index 915d8b31b03..c456641a4cc 100644 --- a/pkg/analysis_server/lib/plugin/protocol/protocol_dart.dart +++ b/pkg/analysis_server/lib/plugin/protocol/protocol_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Utilities for converting Dart entities into analysis server's protocol /// entities. import 'package:analysis_server/src/protocol_server.dart'; diff --git a/pkg/analysis_server/lib/protocol/protocol.dart b/pkg/analysis_server/lib/protocol/protocol.dart index f995858fa45..4f0437bf26d 100644 --- a/pkg/analysis_server/lib/protocol/protocol.dart +++ b/pkg/analysis_server/lib/protocol/protocol.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Support for client code that needs to interact with the requests, responses /// and notifications that are part of the analysis server's wire protocol. import 'dart:convert' hide JsonDecoder; diff --git a/pkg/analysis_server/lib/protocol/protocol_constants.dart b/pkg/analysis_server/lib/protocol/protocol_constants.dart index 6772e9dc901..654d974086d 100644 --- a/pkg/analysis_server/lib/protocol/protocol_constants.dart +++ b/pkg/analysis_server/lib/protocol/protocol_constants.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + const String PROTOCOL_VERSION = '1.32.5'; const String ANALYSIS_NOTIFICATION_ANALYZED_FILES = 'analysis.analyzedFiles'; diff --git a/pkg/analysis_server/lib/protocol/protocol_generated.dart b/pkg/analysis_server/lib/protocol/protocol_generated.dart index 1ae73372cf8..6893238d65f 100644 --- a/pkg/analysis_server/lib/protocol/protocol_generated.dart +++ b/pkg/analysis_server/lib/protocol/protocol_generated.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + import 'dart:convert' hide JsonDecoder; import 'package:analyzer/src/generated/utilities_general.dart'; diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart index 3ac7ec63ab3..77193b3bc08 100644 --- a/pkg/analysis_server/lib/src/analysis_server.dart +++ b/pkg/analysis_server/lib/src/analysis_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:collection'; import 'dart:core'; diff --git a/pkg/analysis_server/lib/src/analysis_server_abstract.dart b/pkg/analysis_server/lib/src/analysis_server_abstract.dart index 2d17fe41bd9..3288d8bc0f6 100644 --- a/pkg/analysis_server/lib/src/analysis_server_abstract.dart +++ b/pkg/analysis_server/lib/src/analysis_server_abstract.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'dart:io' as io; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart b/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart index a6567e648af..f9abadf6ae8 100644 --- a/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart +++ b/pkg/analysis_server/lib/src/channel/byte_stream_channel.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/channel/channel.dart b/pkg/analysis_server/lib/src/channel/channel.dart index f8807d2dd93..627db8a48ae 100644 --- a/pkg/analysis_server/lib/src/channel/channel.dart +++ b/pkg/analysis_server/lib/src/channel/channel.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/lib/src/cider/assists.dart b/pkg/analysis_server/lib/src/cider/assists.dart index ba46cce88dc..c927a9e842b 100644 --- a/pkg/analysis_server/lib/src/cider/assists.dart +++ b/pkg/analysis_server/lib/src/cider/assists.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/assist_internal.dart'; diff --git a/pkg/analysis_server/lib/src/cider/completion.dart b/pkg/analysis_server/lib/src/cider/completion.dart index 8f1ec942e30..99eeec2f9aa 100644 --- a/pkg/analysis_server/lib/src/cider/completion.dart +++ b/pkg/analysis_server/lib/src/cider/completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/completion_core.dart'; import 'package:analysis_server/src/services/completion/completion_performance.dart'; diff --git a/pkg/analysis_server/lib/src/cider/fixes.dart b/pkg/analysis_server/lib/src/cider/fixes.dart index 3f3f08713dc..ae971be5ab2 100644 --- a/pkg/analysis_server/lib/src/cider/fixes.dart +++ b/pkg/analysis_server/lib/src/cider/fixes.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; import 'package:analysis_server/src/services/correction/change_workspace.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/collections.dart b/pkg/analysis_server/lib/src/collections.dart index 38f971ab565..80a5a2272c9 100644 --- a/pkg/analysis_server/lib/src/collections.dart +++ b/pkg/analysis_server/lib/src/collections.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Returns the given [list] if it is not empty, or `null` otherwise. List nullIfEmpty(List list) { if (list == null) { diff --git a/pkg/analysis_server/lib/src/computer/computer_closingLabels.dart b/pkg/analysis_server/lib/src/computer/computer_closingLabels.dart index dd01e3f21d2..6c4c5ed6d06 100644 --- a/pkg/analysis_server/lib/src/computer/computer_closingLabels.dart +++ b/pkg/analysis_server/lib/src/computer/computer_closingLabels.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/visitor.dart'; diff --git a/pkg/analysis_server/lib/src/computer/computer_folding.dart b/pkg/analysis_server/lib/src/computer/computer_folding.dart index 2a8bc96d766..a279dfb2dff 100644 --- a/pkg/analysis_server/lib/src/computer/computer_folding.dart +++ b/pkg/analysis_server/lib/src/computer/computer_folding.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/token.dart'; import 'package:analyzer/dart/ast/visitor.dart'; diff --git a/pkg/analysis_server/lib/src/computer/computer_highlights.dart b/pkg/analysis_server/lib/src/computer/computer_highlights.dart index 717c13611cd..2a973661480 100644 --- a/pkg/analysis_server/lib/src/computer/computer_highlights.dart +++ b/pkg/analysis_server/lib/src/computer/computer_highlights.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart' show SemanticTokenTypes, SemanticTokenModifiers; import 'package:analysis_server/src/lsp/constants.dart' diff --git a/pkg/analysis_server/lib/src/computer/computer_hover.dart b/pkg/analysis_server/lib/src/computer/computer_hover.dart index 3207fbfaf61..53ff8df4d69 100644 --- a/pkg/analysis_server/lib/src/computer/computer_hover.dart +++ b/pkg/analysis_server/lib/src/computer/computer_hover.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' show HoverInformation; import 'package:analysis_server/src/computer/computer_overrides.dart'; diff --git a/pkg/analysis_server/lib/src/computer/computer_outline.dart b/pkg/analysis_server/lib/src/computer/computer_outline.dart index c3fb5d82271..20e3278afcc 100644 --- a/pkg/analysis_server/lib/src/computer/computer_outline.dart +++ b/pkg/analysis_server/lib/src/computer/computer_outline.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/collections.dart'; import 'package:analysis_server/src/utilities/flutter.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/lib/src/computer/computer_overrides.dart b/pkg/analysis_server/lib/src/computer/computer_overrides.dart index 9a27a6e255e..505abac42de 100644 --- a/pkg/analysis_server/lib/src/computer/computer_overrides.dart +++ b/pkg/analysis_server/lib/src/computer/computer_overrides.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/collections.dart'; import 'package:analysis_server/src/protocol_server.dart' as proto; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/computer/computer_signature.dart b/pkg/analysis_server/lib/src/computer/computer_signature.dart index bb26c6adc7b..20bc565c577 100644 --- a/pkg/analysis_server/lib/src/computer/computer_signature.dart +++ b/pkg/analysis_server/lib/src/computer/computer_signature.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/computer/computer_hover.dart'; import 'package:analysis_server/src/protocol_server.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/computer/import_elements_computer.dart b/pkg/analysis_server/lib/src/computer/import_elements_computer.dart index 2229f6f1c1a..59a251a35ee 100644 --- a/pkg/analysis_server/lib/src/computer/import_elements_computer.dart +++ b/pkg/analysis_server/lib/src/computer/import_elements_computer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/computer/imported_elements_computer.dart b/pkg/analysis_server/lib/src/computer/imported_elements_computer.dart index 8d2c2f47e73..a53a891fd46 100644 --- a/pkg/analysis_server/lib/src/computer/imported_elements_computer.dart +++ b/pkg/analysis_server/lib/src/computer/imported_elements_computer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/visitor.dart'; diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart index 9f4fee7159e..108e4c63877 100644 --- a/pkg/analysis_server/lib/src/context_manager.dart +++ b/pkg/analysis_server/lib/src/context_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:collection'; import 'dart:core'; diff --git a/pkg/analysis_server/lib/src/domain_abstract.dart b/pkg/analysis_server/lib/src/domain_abstract.dart index 3d168d51f22..e88d5416c13 100644 --- a/pkg/analysis_server/lib/src/domain_abstract.dart +++ b/pkg/analysis_server/lib/src/domain_abstract.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:math' as math; diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart index 97850165626..a34a0565dd0 100644 --- a/pkg/analysis_server/lib/src/domain_analysis.dart +++ b/pkg/analysis_server/lib/src/domain_analysis.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/protocol/protocol_constants.dart'; diff --git a/pkg/analysis_server/lib/src/domain_analytics.dart b/pkg/analysis_server/lib/src/domain_analytics.dart index af31ca1be7c..9a8f1aaa4d5 100644 --- a/pkg/analysis_server/lib/src/domain_analytics.dart +++ b/pkg/analysis_server/lib/src/domain_analytics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/lib/src/domain_completion.dart b/pkg/analysis_server/lib/src/domain_completion.dart index ea54b61a451..8a9ff43c316 100644 --- a/pkg/analysis_server/lib/src/domain_completion.dart +++ b/pkg/analysis_server/lib/src/domain_completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/lib/src/domain_diagnostic.dart b/pkg/analysis_server/lib/src/domain_diagnostic.dart index 747fb931ebf..6e7b6ab16a6 100644 --- a/pkg/analysis_server/lib/src/domain_diagnostic.dart +++ b/pkg/analysis_server/lib/src/domain_diagnostic.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/lib/src/domain_execution.dart b/pkg/analysis_server/lib/src/domain_execution.dart index db74f5fdeda..f1fec6e0520 100644 --- a/pkg/analysis_server/lib/src/domain_execution.dart +++ b/pkg/analysis_server/lib/src/domain_execution.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'dart:core'; diff --git a/pkg/analysis_server/lib/src/domain_kythe.dart b/pkg/analysis_server/lib/src/domain_kythe.dart index 26e478848e1..14ac442a995 100644 --- a/pkg/analysis_server/lib/src/domain_kythe.dart +++ b/pkg/analysis_server/lib/src/domain_kythe.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/lib/src/domain_server.dart b/pkg/analysis_server/lib/src/domain_server.dart index c0d4e698fee..44a8b4be57c 100644 --- a/pkg/analysis_server/lib/src/domain_server.dart +++ b/pkg/analysis_server/lib/src/domain_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart b/pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart index 0939d948d2b..3058da50dd7 100644 --- a/pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart +++ b/pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analysis_server/src/services/search/search_engine.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/domains/analysis/occurrences.dart b/pkg/analysis_server/lib/src/domains/analysis/occurrences.dart index 295d92cd16d..5a10351a5e0 100644 --- a/pkg/analysis_server/lib/src/domains/analysis/occurrences.dart +++ b/pkg/analysis_server/lib/src/domains/analysis/occurrences.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/analysis/occurrences/occurrences_core.dart'; import 'package:analysis_server/src/protocol_server.dart' as protocol; diff --git a/pkg/analysis_server/lib/src/domains/analysis/occurrences_dart.dart b/pkg/analysis_server/lib/src/domains/analysis/occurrences_dart.dart index f263e74bdd5..441e9494680 100644 --- a/pkg/analysis_server/lib/src/domains/analysis/occurrences_dart.dart +++ b/pkg/analysis_server/lib/src/domains/analysis/occurrences_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/analysis/occurrences/occurrences_core.dart'; import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/domains/completion/available_suggestions.dart b/pkg/analysis_server/lib/src/domains/completion/available_suggestions.dart index d671c03df32..8440c7d947f 100644 --- a/pkg/analysis_server/lib/src/domains/completion/available_suggestions.dart +++ b/pkg/analysis_server/lib/src/domains/completion/available_suggestions.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/domains/execution/completion.dart b/pkg/analysis_server/lib/src/domains/execution/completion.dart index faad3f961c5..26197cdf5c0 100644 --- a/pkg/analysis_server/lib/src/domains/execution/completion.dart +++ b/pkg/analysis_server/lib/src/domains/execution/completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' show CompletionSuggestion, diff --git a/pkg/analysis_server/lib/src/edit/edit_dartfix.dart b/pkg/analysis_server/lib/src/edit/edit_dartfix.dart index c36f2bbf87d..2468615a050 100644 --- a/pkg/analysis_server/lib/src/edit/edit_dartfix.dart +++ b/pkg/analysis_server/lib/src/edit/edit_dartfix.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/analysis_server.dart'; diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart index be204d63dab..93c8e3d83de 100644 --- a/pkg/analysis_server/lib/src/edit/edit_domain.dart +++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/dartfix_info.dart b/pkg/analysis_server/lib/src/edit/fix/dartfix_info.dart index 0fe5aba1b2f..6335d65f959 100644 --- a/pkg/analysis_server/lib/src/edit/fix/dartfix_info.dart +++ b/pkg/analysis_server/lib/src/edit/fix/dartfix_info.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' show DartFix, EditDartfixParams; import 'package:analysis_server/src/edit/edit_dartfix.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/dartfix_listener.dart b/pkg/analysis_server/lib/src/edit/fix/dartfix_listener.dart index c9fd823204f..556cc38977b 100644 --- a/pkg/analysis_server/lib/src/edit/fix/dartfix_listener.dart +++ b/pkg/analysis_server/lib/src/edit/fix/dartfix_listener.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/analysis_server.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/dartfix_registrar.dart b/pkg/analysis_server/lib/src/edit/fix/dartfix_registrar.dart index 07652c02a76..f1c8b449de6 100644 --- a/pkg/analysis_server/lib/src/edit/fix/dartfix_registrar.dart +++ b/pkg/analysis_server/lib/src/edit/fix/dartfix_registrar.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/edit/fix/dartfix_info.dart'; import 'package:analysis_server/src/edit/fix/fix_code_task.dart'; import 'package:analysis_server/src/edit/fix/fix_error_task.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/fix_code_task.dart b/pkg/analysis_server/lib/src/edit/fix/fix_code_task.dart index a4243a900f6..cca1834939f 100644 --- a/pkg/analysis_server/lib/src/edit/fix/fix_code_task.dart +++ b/pkg/analysis_server/lib/src/edit/fix/fix_code_task.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' show max; import 'package:analysis_server/src/edit/edit_dartfix.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/fix_error_task.dart b/pkg/analysis_server/lib/src/edit/fix/fix_error_task.dart index 28964074ed6..5f7ec3924dc 100644 --- a/pkg/analysis_server/lib/src/edit/fix/fix_error_task.dart +++ b/pkg/analysis_server/lib/src/edit/fix/fix_error_task.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_dartfix.dart'; import 'package:analysis_server/src/edit/fix/dartfix_listener.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/fix_lint_task.dart b/pkg/analysis_server/lib/src/edit/fix/fix_lint_task.dart index 2aac75ec101..d7564a99743 100644 --- a/pkg/analysis_server/lib/src/edit/fix/fix_lint_task.dart +++ b/pkg/analysis_server/lib/src/edit/fix/fix_lint_task.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/edit/edit_dartfix.dart'; import 'package:analysis_server/src/edit/fix/dartfix_listener.dart'; import 'package:analysis_server/src/edit/fix/fix_error_task.dart'; diff --git a/pkg/analysis_server/lib/src/edit/fix/prefer_mixin_fix.dart b/pkg/analysis_server/lib/src/edit/fix/prefer_mixin_fix.dart index 979721531f1..f9ef2a5159d 100644 --- a/pkg/analysis_server/lib/src/edit/fix/prefer_mixin_fix.dart +++ b/pkg/analysis_server/lib/src/edit/fix/prefer_mixin_fix.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/fix/dartfix_listener.dart'; import 'package:analysis_server/src/edit/fix/dartfix_registrar.dart'; diff --git a/pkg/analysis_server/lib/src/flutter/flutter_domain.dart b/pkg/analysis_server/lib/src/flutter/flutter_domain.dart index 1a5f819acf6..6996ece4d80 100644 --- a/pkg/analysis_server/lib/src/flutter/flutter_domain.dart +++ b/pkg/analysis_server/lib/src/flutter/flutter_domain.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/domain_abstract.dart'; diff --git a/pkg/analysis_server/lib/src/flutter/flutter_notifications.dart b/pkg/analysis_server/lib/src/flutter/flutter_notifications.dart index 74085faa4e3..a18cb7db98f 100644 --- a/pkg/analysis_server/lib/src/flutter/flutter_notifications.dart +++ b/pkg/analysis_server/lib/src/flutter/flutter_notifications.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/flutter/flutter_outline_computer.dart'; import 'package:analysis_server/src/protocol_server.dart' as protocol; diff --git a/pkg/analysis_server/lib/src/flutter/flutter_outline_computer.dart b/pkg/analysis_server/lib/src/flutter/flutter_outline_computer.dart index 3467add368e..5f7917301ec 100644 --- a/pkg/analysis_server/lib/src/flutter/flutter_outline_computer.dart +++ b/pkg/analysis_server/lib/src/flutter/flutter_outline_computer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/computer/computer_outline.dart'; import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analysis_server/src/utilities/flutter.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/channel/lsp_byte_stream_channel.dart b/pkg/analysis_server/lib/src/lsp/channel/lsp_byte_stream_channel.dart index acd9c2e18e0..993ab3a60c0 100644 --- a/pkg/analysis_server/lib/src/lsp/channel/lsp_byte_stream_channel.dart +++ b/pkg/analysis_server/lib/src/lsp/channel/lsp_byte_stream_channel.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/lsp/channel/lsp_channel.dart b/pkg/analysis_server/lib/src/lsp/channel/lsp_channel.dart index 8d488b63306..5163e845aa4 100644 --- a/pkg/analysis_server/lib/src/lsp/channel/lsp_channel.dart +++ b/pkg/analysis_server/lib/src/lsp/channel/lsp_channel.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/lsp_analysis_server.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/client_capabilities.dart b/pkg/analysis_server/lib/src/lsp/client_capabilities.dart index 10479613541..2a2039af4d6 100644 --- a/pkg/analysis_server/lib/src/lsp/client_capabilities.dart +++ b/pkg/analysis_server/lib/src/lsp/client_capabilities.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; /// Wraps the client (editor) capabilities to improve performance. diff --git a/pkg/analysis_server/lib/src/lsp/client_configuration.dart b/pkg/analysis_server/lib/src/lsp/client_configuration.dart index 26ad2d02150..fb2fa13080b 100644 --- a/pkg/analysis_server/lib/src/lsp/client_configuration.dart +++ b/pkg/analysis_server/lib/src/lsp/client_configuration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Wraps the client (editor) configuration to provide stronger typing and /// handling of default values where a setting has not been supplied. class LspClientConfiguration { diff --git a/pkg/analysis_server/lib/src/lsp/constants.dart b/pkg/analysis_server/lib/src/lsp/constants.dart index 952a5c56bfe..d04c276a2c4 100644 --- a/pkg/analysis_server/lib/src/lsp/constants.dart +++ b/pkg/analysis_server/lib/src/lsp/constants.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/dartdoc.dart b/pkg/analysis_server/lib/src/lsp/dartdoc.dart index ee6d6c70556..cc8f07fe682 100644 --- a/pkg/analysis_server/lib/src/lsp/dartdoc.dart +++ b/pkg/analysis_server/lib/src/lsp/dartdoc.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + final _dartdocCodeBlockSections = RegExp(r'(```\w+) +\w+'); final _dartdocDirectives = RegExp(r'(\n *{@.*?}$)|(^{@.*?}\n)', multiLine: true); diff --git a/pkg/analysis_server/lib/src/lsp/handlers/commands/organize_imports.dart b/pkg/analysis_server/lib/src/lsp/handlers/commands/organize_imports.dart index c1c00dea4b6..998a39e8728 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/commands/organize_imports.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/commands/organize_imports.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/commands/perform_refactor.dart b/pkg/analysis_server/lib/src/lsp/handlers/commands/perform_refactor.dart index 581c49979c9..fcccebaf884 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/commands/perform_refactor.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/commands/perform_refactor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/commands/send_workspace_edit.dart b/pkg/analysis_server/lib/src/lsp/handlers/commands/send_workspace_edit.dart index c4eda522fee..1f817683ad2 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/commands/send_workspace_edit.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/commands/send_workspace_edit.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/commands/simple_edit_handler.dart b/pkg/analysis_server/lib/src/lsp/handlers/commands/simple_edit_handler.dart index c8fa7599616..0b3a4ef9fdb 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/commands/simple_edit_handler.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/commands/simple_edit_handler.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/commands/sort_members.dart b/pkg/analysis_server/lib/src/lsp/handlers/commands/sort_members.dart index ca10fa433dd..dd7b2d00a45 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/commands/sort_members.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/commands/sort_members.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_diagnostic_server.dart b/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_diagnostic_server.dart index 66f95f638e7..8c8d812085d 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_diagnostic_server.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_diagnostic_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_custom_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_reanalyze.dart b/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_reanalyze.dart index 0c2cde4d97b..cd62bcce2ab 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_reanalyze.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_reanalyze.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_super.dart b/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_super.dart index 9ddba98a608..50f0c5d1a3f 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_super.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/custom/handler_super.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_cancel_request.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_cancel_request.dart index 82008a9fa52..1bdc3dbcefd 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_cancel_request.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_cancel_request.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_change_workspace_folders.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_change_workspace_folders.dart index c25595d8142..857fcb303e0 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_change_workspace_folders.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_change_workspace_folders.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_code_actions.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_code_actions.dart index f7afd252d99..219138b95ee 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_code_actions.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_code_actions.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_completion.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_completion.dart index f6671c67f33..13a5890d0ed 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_completion.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_completion_resolve.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_completion_resolve.dart index cafa2b61be9..95e825970e3 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_completion_resolve.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_completion_resolve.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_custom_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_definition.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_definition.dart index e3599b6e322..5b52c33544e 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_definition.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_definition.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/protocol/protocol_generated.dart' diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_document_highlights.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_document_highlights.dart index 80442818352..9573acce918 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_document_highlights.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_document_highlights.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/domains/analysis/occurrences.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_document_symbols.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_document_symbols.dart index f8ad0d68cad..b4b6f1446b2 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_document_symbols.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_document_symbols.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/computer/computer_outline.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_execute_command.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_execute_command.dart index 43d877e32b2..40e0e03d75a 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_execute_command.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_execute_command.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_exit.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_exit.dart index 82b3f07cfb8..bb33c8160c1 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_exit.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_exit.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_folding.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_folding.dart index 988b719234b..cda2b351a48 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_folding.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_folding.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/computer/computer_folding.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_format_on_type.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_format_on_type.dart index d34bceace01..cc07266cbef 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_format_on_type.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_format_on_type.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_format_range.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_format_range.dart index 3c6183d2104..bc83804439b 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_format_range.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_format_range.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_formatting.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_formatting.dart index 554ed015fd4..eefcd07eb5a 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_formatting.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_formatting.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_hover.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_hover.dart index 4e57b46ef8f..8c82497051f 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_hover.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_hover.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_implementation.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_implementation.dart index 17a3b28f8e0..822398caaa7 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_implementation.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_implementation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_initialize.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_initialize.dart index 9174fb820e2..091f1e0ea90 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_initialize.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_initialize.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_initialized.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_initialized.dart index b42d11faa3a..462e93303cb 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_initialized.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_initialized.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handler_states.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_references.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_references.dart index 4dc81dfbe35..31f5872284b 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_references.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_references.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_reject.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_reject.dart index a1f42ff889a..e841a61d7a0 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_reject.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_reject.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_rename.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_rename.dart index d1c3aca12d6..20f59c08406 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_rename.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_rename.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_semantic_tokens.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_semantic_tokens.dart index ad40077d82a..61e411e9abf 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_semantic_tokens.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_semantic_tokens.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_shutdown.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_shutdown.dart index d591480f32b..9746f3a1e18 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_shutdown.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_shutdown.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handler_states.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_signature_help.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_signature_help.dart index d01e33d2b5f..5d97030ba38 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_signature_help.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_signature_help.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/computer/computer_signature.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_states.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_states.dart index c1298e52307..d1194ee4373 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_states.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_states.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_text_document_changes.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_text_document_changes.dart index de9cb07061d..f703d188f2e 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_text_document_changes.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_text_document_changes.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_will_rename_files.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_will_rename_files.dart index 3d32e86eb19..c256d6d8e78 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_will_rename_files.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_will_rename_files.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_configuration.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_configuration.dart index 8551a6d5c6d..3be46d8c6eb 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_configuration.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_configuration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_symbols.dart b/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_symbols.dart index ef781d12e5d..37f455b2c73 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_symbols.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handler_workspace_symbols.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/handlers/handlers.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/handlers/handlers.dart b/pkg/analysis_server/lib/src/lsp/handlers/handlers.dart index 0835da5b935..3f5def67086 100644 --- a/pkg/analysis_server/lib/src/lsp/handlers/handlers.dart +++ b/pkg/analysis_server/lib/src/lsp/handlers/handlers.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/json_parsing.dart b/pkg/analysis_server/lib/src/lsp/json_parsing.dart index 148a9caae30..412c96c44dd 100644 --- a/pkg/analysis_server/lib/src/lsp/json_parsing.dart +++ b/pkg/analysis_server/lib/src/lsp/json_parsing.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; final nullLspJsonReporter = _NullLspJsonReporter(); diff --git a/pkg/analysis_server/lib/src/lsp/lsp_analysis_server.dart b/pkg/analysis_server/lib/src/lsp/lsp_analysis_server.dart index e5e609d5b91..afb577f4f1a 100644 --- a/pkg/analysis_server/lib/src/lsp/lsp_analysis_server.dart +++ b/pkg/analysis_server/lib/src/lsp/lsp_analysis_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_custom_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/lsp_packet_transformer.dart b/pkg/analysis_server/lib/src/lsp/lsp_packet_transformer.dart index 8f5021f4b09..b80e082f5b9 100644 --- a/pkg/analysis_server/lib/src/lsp/lsp_packet_transformer.dart +++ b/pkg/analysis_server/lib/src/lsp/lsp_packet_transformer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; diff --git a/pkg/analysis_server/lib/src/lsp/lsp_socket_server.dart b/pkg/analysis_server/lib/src/lsp/lsp_socket_server.dart index 419fe43b01d..d567d37e267 100644 --- a/pkg/analysis_server/lib/src/lsp/lsp_socket_server.dart +++ b/pkg/analysis_server/lib/src/lsp/lsp_socket_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/analysis_server.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/mapping.dart b/pkg/analysis_server/lib/src/lsp/mapping.dart index a409c060fbd..1a75652a157 100644 --- a/pkg/analysis_server/lib/src/lsp/mapping.dart +++ b/pkg/analysis_server/lib/src/lsp/mapping.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math'; import 'package:analysis_server/lsp_protocol/protocol_custom_generated.dart' diff --git a/pkg/analysis_server/lib/src/lsp/notification_manager.dart b/pkg/analysis_server/lib/src/lsp/notification_manager.dart index 7752a79c48d..e6506bdc94a 100644 --- a/pkg/analysis_server/lib/src/lsp/notification_manager.dart +++ b/pkg/analysis_server/lib/src/lsp/notification_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/channel/lsp_channel.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/progress.dart b/pkg/analysis_server/lib/src/lsp/progress.dart index 45c040aae8e..6b87f744405 100644 --- a/pkg/analysis_server/lib/src/lsp/progress.dart +++ b/pkg/analysis_server/lib/src/lsp/progress.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:math'; diff --git a/pkg/analysis_server/lib/src/lsp/semantic_tokens/encoder.dart b/pkg/analysis_server/lib/src/lsp/semantic_tokens/encoder.dart index 4ee6f992c69..a3de7ddec19 100644 --- a/pkg/analysis_server/lib/src/lsp/semantic_tokens/encoder.dart +++ b/pkg/analysis_server/lib/src/lsp/semantic_tokens/encoder.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'dart:math' as math; diff --git a/pkg/analysis_server/lib/src/lsp/semantic_tokens/legend.dart b/pkg/analysis_server/lib/src/lsp/semantic_tokens/legend.dart index ef2d8c45929..2b7c3e4c025 100644 --- a/pkg/analysis_server/lib/src/lsp/semantic_tokens/legend.dart +++ b/pkg/analysis_server/lib/src/lsp/semantic_tokens/legend.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/semantic_tokens/mapping.dart b/pkg/analysis_server/lib/src/lsp/semantic_tokens/mapping.dart index 7405b0e9eed..34c7909bafe 100644 --- a/pkg/analysis_server/lib/src/lsp/semantic_tokens/mapping.dart +++ b/pkg/analysis_server/lib/src/lsp/semantic_tokens/mapping.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:analysis_server/src/lsp/semantic_tokens/legend.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/server_capabilities_computer.dart b/pkg/analysis_server/lib/src/lsp/server_capabilities_computer.dart index 808446a7e52..72b8dbc0f6d 100644 --- a/pkg/analysis_server/lib/src/lsp/server_capabilities_computer.dart +++ b/pkg/analysis_server/lib/src/lsp/server_capabilities_computer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/client_capabilities.dart'; diff --git a/pkg/analysis_server/lib/src/lsp/source_edits.dart b/pkg/analysis_server/lib/src/lsp/source_edits.dart index d97576f53ed..a1004f1c2c1 100644 --- a/pkg/analysis_server/lib/src/lsp/source_edits.dart +++ b/pkg/analysis_server/lib/src/lsp/source_edits.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/mapping.dart'; diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart index aa6443ec3ed..f612320de02 100644 --- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart +++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/computer/computer_closingLabels.dart'; import 'package:analysis_server/src/computer/computer_folding.dart'; diff --git a/pkg/analysis_server/lib/src/plugin/notification_manager.dart b/pkg/analysis_server/lib/src/plugin/notification_manager.dart index 5b3eef8175d..6ebbf40db81 100644 --- a/pkg/analysis_server/lib/src/plugin/notification_manager.dart +++ b/pkg/analysis_server/lib/src/plugin/notification_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/protocol/protocol_generated.dart' as server; diff --git a/pkg/analysis_server/lib/src/plugin/plugin_locator.dart b/pkg/analysis_server/lib/src/plugin/plugin_locator.dart index 0ff02687f12..58f8aa2db4b 100644 --- a/pkg/analysis_server/lib/src/plugin/plugin_locator.dart +++ b/pkg/analysis_server/lib/src/plugin/plugin_locator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/file_system/file_system.dart'; /// An object used to locate a plugin within a package. diff --git a/pkg/analysis_server/lib/src/plugin/plugin_manager.dart b/pkg/analysis_server/lib/src/plugin/plugin_manager.dart index 40d94a75f92..02c1294e250 100644 --- a/pkg/analysis_server/lib/src/plugin/plugin_manager.dart +++ b/pkg/analysis_server/lib/src/plugin/plugin_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:collection'; import 'dart:convert'; diff --git a/pkg/analysis_server/lib/src/plugin/plugin_watcher.dart b/pkg/analysis_server/lib/src/plugin/plugin_watcher.dart index 7eab2f243c3..6e9bb992345 100644 --- a/pkg/analysis_server/lib/src/plugin/plugin_watcher.dart +++ b/pkg/analysis_server/lib/src/plugin/plugin_watcher.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/src/plugin/plugin_locator.dart'; diff --git a/pkg/analysis_server/lib/src/plugin/request_converter.dart b/pkg/analysis_server/lib/src/plugin/request_converter.dart index 82b2bf4e5e0..0909ca10f0e 100644 --- a/pkg/analysis_server/lib/src/plugin/request_converter.dart +++ b/pkg/analysis_server/lib/src/plugin/request_converter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as server; import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; diff --git a/pkg/analysis_server/lib/src/plugin/result_collector.dart b/pkg/analysis_server/lib/src/plugin/result_collector.dart index 9ce9ecc66f7..a016ed18ee9 100644 --- a/pkg/analysis_server/lib/src/plugin/result_collector.dart +++ b/pkg/analysis_server/lib/src/plugin/result_collector.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A function used to determine whether results should be collected for the /// file with the given [path]. typedef ShouldCollectPredicate = bool Function(String path); diff --git a/pkg/analysis_server/lib/src/plugin/result_converter.dart b/pkg/analysis_server/lib/src/plugin/result_converter.dart index 3a0983bf759..a4cd7886a31 100644 --- a/pkg/analysis_server/lib/src/plugin/result_converter.dart +++ b/pkg/analysis_server/lib/src/plugin/result_converter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as server; import 'package:analysis_server/src/protocol/protocol_internal.dart' as server; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/lib/src/plugin/result_merger.dart b/pkg/analysis_server/lib/src/plugin/result_merger.dart index 0336650b293..51946743add 100644 --- a/pkg/analysis_server/lib/src/plugin/result_merger.dart +++ b/pkg/analysis_server/lib/src/plugin/result_merger.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/lib/src/protocol/protocol_internal.dart b/pkg/analysis_server/lib/src/protocol/protocol_internal.dart index 17d48379dfc..1b4f60eb78b 100644 --- a/pkg/analysis_server/lib/src/protocol/protocol_internal.dart +++ b/pkg/analysis_server/lib/src/protocol/protocol_internal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'dart:convert' hide JsonDecoder; diff --git a/pkg/analysis_server/lib/src/protocol_server.dart b/pkg/analysis_server/lib/src/protocol_server.dart index b330f896ab4..dda065cfff3 100644 --- a/pkg/analysis_server/lib/src/protocol_server.dart +++ b/pkg/analysis_server/lib/src/protocol_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/protocol/protocol_dart.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart b/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart index d252dd8ec1c..d072cad40f7 100644 --- a/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart +++ b/pkg/analysis_server/lib/src/provisional/completion/completion_core.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/file_system/file_system.dart'; import 'package:analyzer/src/generated/source.dart'; diff --git a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart index 4177a84cf08..de9c92b93f6 100644 --- a/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart +++ b/pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/completion_core.dart'; import 'package:analysis_server/src/services/completion/dart/feature_computer.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; diff --git a/pkg/analysis_server/lib/src/search/element_references.dart b/pkg/analysis_server/lib/src/search/element_references.dart index dc0726512fa..9cee80a5132 100644 --- a/pkg/analysis_server/lib/src/search/element_references.dart +++ b/pkg/analysis_server/lib/src/search/element_references.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' show SearchResult, newSearchResult_fromMatch; import 'package:analysis_server/src/services/search/hierarchy.dart'; diff --git a/pkg/analysis_server/lib/src/search/search_domain.dart b/pkg/analysis_server/lib/src/search/search_domain.dart index 9dd70bfe9fc..80b84ced4c6 100644 --- a/pkg/analysis_server/lib/src/search/search_domain.dart +++ b/pkg/analysis_server/lib/src/search/search_domain.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/protocol_server.dart' as protocol; diff --git a/pkg/analysis_server/lib/src/search/type_hierarchy.dart b/pkg/analysis_server/lib/src/search/type_hierarchy.dart index d5b1804ecc8..90c3866b993 100644 --- a/pkg/analysis_server/lib/src/search/type_hierarchy.dart +++ b/pkg/analysis_server/lib/src/search/type_hierarchy.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/protocol_server.dart' diff --git a/pkg/analysis_server/lib/src/search/workspace_symbols.dart b/pkg/analysis_server/lib/src/search/workspace_symbols.dart index 63adfd49aa1..a256782010a 100644 --- a/pkg/analysis_server/lib/src/search/workspace_symbols.dart +++ b/pkg/analysis_server/lib/src/search/workspace_symbols.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analyzer/source/line_info.dart'; diff --git a/pkg/analysis_server/lib/src/server/crash_reporting.dart b/pkg/analysis_server/lib/src/server/crash_reporting.dart index 4849825cc58..b5c775ec33b 100644 --- a/pkg/analysis_server/lib/src/server/crash_reporting.dart +++ b/pkg/analysis_server/lib/src/server/crash_reporting.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/exception/exception.dart'; import 'package:analyzer/instrumentation/noop_service.dart'; import 'package:analyzer/instrumentation/plugin_data.dart'; diff --git a/pkg/analysis_server/lib/src/server/crash_reporting_attachments.dart b/pkg/analysis_server/lib/src/server/crash_reporting_attachments.dart index 0648968bbcf..790ccabc5fd 100644 --- a/pkg/analysis_server/lib/src/server/crash_reporting_attachments.dart +++ b/pkg/analysis_server/lib/src/server/crash_reporting_attachments.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/instrumentation/service.dart'; import 'package:analyzer/src/dart/analysis/driver.dart' show ExceptionResult; diff --git a/pkg/analysis_server/lib/src/server/detachable_filesystem_manager.dart b/pkg/analysis_server/lib/src/server/detachable_filesystem_manager.dart index d32ca39d0d8..1bad24203e4 100644 --- a/pkg/analysis_server/lib/src/server/detachable_filesystem_manager.dart +++ b/pkg/analysis_server/lib/src/server/detachable_filesystem_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/analysis_server.dart'; /// A class that can be used to configure an analysis server instance to better diff --git a/pkg/analysis_server/lib/src/server/dev_server.dart b/pkg/analysis_server/lib/src/server/dev_server.dart index 0a1593dc9a0..f15d228d856 100644 --- a/pkg/analysis_server/lib/src/server/dev_server.dart +++ b/pkg/analysis_server/lib/src/server/dev_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/server/diagnostic_server.dart b/pkg/analysis_server/lib/src/server/diagnostic_server.dart index 4a0a27a0012..7d5586a75d3 100644 --- a/pkg/analysis_server/lib/src/server/diagnostic_server.dart +++ b/pkg/analysis_server/lib/src/server/diagnostic_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A handle to start, and return the current port of, a diagnostic server. abstract class DiagnosticServer { /// Return the port of the diagnostic web server. If the server is not running diff --git a/pkg/analysis_server/lib/src/server/driver.dart b/pkg/analysis_server/lib/src/server/driver.dart index 46b867dc2aa..0521a2a1474 100644 --- a/pkg/analysis_server/lib/src/server/driver.dart +++ b/pkg/analysis_server/lib/src/server/driver.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; import 'dart:isolate'; diff --git a/pkg/analysis_server/lib/src/server/error_notifier.dart b/pkg/analysis_server/lib/src/server/error_notifier.dart index a69f1f0b000..f329c9224aa 100644 --- a/pkg/analysis_server/lib/src/server/error_notifier.dart +++ b/pkg/analysis_server/lib/src/server/error_notifier.dart @@ -1,3 +1,9 @@ +// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +// @dart = 2.9 + import 'package:analysis_server/src/analysis_server_abstract.dart'; import 'package:analyzer/exception/exception.dart'; import 'package:analyzer/instrumentation/instrumentation.dart'; diff --git a/pkg/analysis_server/lib/src/server/features.dart b/pkg/analysis_server/lib/src/server/features.dart index fd02aa10865..65668bd8a3b 100644 --- a/pkg/analysis_server/lib/src/server/features.dart +++ b/pkg/analysis_server/lib/src/server/features.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// The set of features enabled in a server session. /// /// When some features are not enabled, the server might avoid doing work diff --git a/pkg/analysis_server/lib/src/server/http_server.dart b/pkg/analysis_server/lib/src/server/http_server.dart index 1083d5ca99b..1e6fc742cd6 100644 --- a/pkg/analysis_server/lib/src/server/http_server.dart +++ b/pkg/analysis_server/lib/src/server/http_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/src/socket_server.dart'; diff --git a/pkg/analysis_server/lib/src/server/isolate_analysis_server.dart b/pkg/analysis_server/lib/src/server/isolate_analysis_server.dart index 2ef30d36180..aaf2ae3cfc2 100644 --- a/pkg/analysis_server/lib/src/server/isolate_analysis_server.dart +++ b/pkg/analysis_server/lib/src/server/isolate_analysis_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' show IOSink; import 'dart:isolate'; diff --git a/pkg/analysis_server/lib/src/server/lsp_stdio_server.dart b/pkg/analysis_server/lib/src/server/lsp_stdio_server.dart index 2fa5b8acb79..e96bb9c5e0f 100644 --- a/pkg/analysis_server/lib/src/server/lsp_stdio_server.dart +++ b/pkg/analysis_server/lib/src/server/lsp_stdio_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/src/lsp/channel/lsp_byte_stream_channel.dart'; diff --git a/pkg/analysis_server/lib/src/server/sdk_configuration.dart b/pkg/analysis_server/lib/src/server/sdk_configuration.dart index c296772a2f1..b2ac8bf3c4d 100644 --- a/pkg/analysis_server/lib/src/server/sdk_configuration.dart +++ b/pkg/analysis_server/lib/src/server/sdk_configuration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/server/stdio_server.dart b/pkg/analysis_server/lib/src/server/stdio_server.dart index 06c50306766..337436e9382 100644 --- a/pkg/analysis_server/lib/src/server/stdio_server.dart +++ b/pkg/analysis_server/lib/src/server/stdio_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/src/channel/byte_stream_channel.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/completion_core.dart b/pkg/analysis_server/lib/src/services/completion/completion_core.dart index 4141b3b5f47..e69c3577f83 100644 --- a/pkg/analysis_server/lib/src/services/completion/completion_core.dart +++ b/pkg/analysis_server/lib/src/services/completion/completion_core.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/completion_core.dart'; import 'package:analysis_server/src/services/completion/completion_performance.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/completion_performance.dart b/pkg/analysis_server/lib/src/services/completion/completion_performance.dart index e233d1346a7..dd3480e3e84 100644 --- a/pkg/analysis_server/lib/src/services/completion/completion_performance.dart +++ b/pkg/analysis_server/lib/src/services/completion/completion_performance.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/src/util/performance/operation_performance.dart'; /// Compute a string representing a code completion operation at the diff --git a/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart index 271b7fb588d..5274710a234 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/arglist_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/completion_core.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/combinator_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/combinator_contributor.dart index ebebb681231..c774a4ef00b 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/combinator_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/combinator_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element, ElementKind; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart b/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart index 245abf60fbf..578501a89d8 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/provisional/completion/completion_core.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/extension_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/extension_member_contributor.dart index d847127ac6a..e0232fb596a 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/extension_member_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/extension_member_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/feature_computer.dart b/pkg/analysis_server/lib/src/services/completion/dart/feature_computer.dart index ea06634ca33..1b6eea72665 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/feature_computer.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/feature_computer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Utility methods to compute the value of the features used for code /// completion. import 'dart:math' as math; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/field_formal_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/field_formal_contributor.dart index a24d5c49f18..b322111aabb 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/field_formal_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/field_formal_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/imported_reference_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/imported_reference_contributor.dart index 4f560e307d4..dd993ba2ffc 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/imported_reference_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/imported_reference_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/local_library_contributor.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart' diff --git a/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart index 4963edb0b72..4b487666d70 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/keyword_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/completion_manager.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/label_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/label_contributor.dart index 9434271f2a4..e333940afe7 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/label_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/label_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/completion_manager.dart' show DartCompletionRequestImpl; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart index c9ff9c925e7..634cae3c3d5 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' show CompletionSuggestionKind; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart index 0fccab22b98..2ec7b23cb46 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/library_prefix_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/local_library_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/local_library_contributor.dart index 7ed705f2076..279f4fb39af 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/local_library_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/local_library_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' show CompletionSuggestionKind; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart index d92cc043c03..546c2361afc 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' show CompletionSuggestionKind; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/named_constructor_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/named_constructor_contributor.dart index 4c06dad34c4..b31253fcb19 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/named_constructor_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/named_constructor_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/override_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/override_contributor.dart index 178dc1dc7a8..c18f91d6b09 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/override_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/override_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/probability_range.dart b/pkg/analysis_server/lib/src/services/completion/dart/probability_range.dart index d5167d943c1..2c5de162cf3 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/probability_range.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/probability_range.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A range of probabilities that a given event has occurred. class ProbabilityRange { /// The lower bound of the range. diff --git a/pkg/analysis_server/lib/src/services/completion/dart/relevance_tables.g.dart b/pkg/analysis_server/lib/src/services/completion/dart/relevance_tables.g.dart index 25f38573a6d..22f1ab79508 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/relevance_tables.g.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/relevance_tables.g.dart @@ -1,6 +1,8 @@ // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. + +// @dart = 2.9 // // This file has been automatically generated. Please do not edit it manually. // To regenerate the file, use the script diff --git a/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart index 151d8d2ebb1..cfd2a349eb7 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/suggestion_builder.dart b/pkg/analysis_server/lib/src/services/completion/dart/suggestion_builder.dart index 05338a03b69..43af3524ab2 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/suggestion_builder.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/suggestion_builder.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:_fe_analyzer_shared/src/base/syntactic_entity.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/type_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/type_member_contributor.dart index 2ffa0b5d394..19510c74dcc 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/type_member_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/type_member_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart index fed0ed7fa70..33dbf47a5d3 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/uri_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/utilities.dart b/pkg/analysis_server/lib/src/services/completion/dart/utilities.dart index efead5f5150..75b43b93964 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/utilities.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/utilities.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A collection of utility methods used by completion contributors. import 'package:analysis_server/src/protocol_server.dart' show CompletionSuggestion, Location; diff --git a/pkg/analysis_server/lib/src/services/completion/dart/variable_name_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/variable_name_contributor.dart index 1c4e0db6729..50e0fd16eab 100644 --- a/pkg/analysis_server/lib/src/services/completion/dart/variable_name_contributor.dart +++ b/pkg/analysis_server/lib/src/services/completion/dart/variable_name_contributor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/suggestion_builder.dart'; import 'package:analysis_server/src/services/correction/name_suggestion.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/filtering/fuzzy_matcher.dart b/pkg/analysis_server/lib/src/services/completion/filtering/fuzzy_matcher.dart index 7868f8095fd..765c39a2444 100644 --- a/pkg/analysis_server/lib/src/services/completion/filtering/fuzzy_matcher.dart +++ b/pkg/analysis_server/lib/src/services/completion/filtering/fuzzy_matcher.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; /// Character role in a candidate string. diff --git a/pkg/analysis_server/lib/src/services/completion/postfix/postfix_completion.dart b/pkg/analysis_server/lib/src/services/completion/postfix/postfix_completion.dart index b648f7f1780..c88f85d6dca 100644 --- a/pkg/analysis_server/lib/src/services/completion/postfix/postfix_completion.dart +++ b/pkg/analysis_server/lib/src/services/completion/postfix/postfix_completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/util.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart b/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart index 830a57de435..679b4570922 100644 --- a/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart +++ b/pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math'; import 'package:analysis_server/src/protocol_server.dart' hide Element; diff --git a/pkg/analysis_server/lib/src/services/completion/yaml/analysis_options_generator.dart b/pkg/analysis_server/lib/src/services/completion/yaml/analysis_options_generator.dart index 7f60edde323..7fd44bd890b 100644 --- a/pkg/analysis_server/lib/src/services/completion/yaml/analysis_options_generator.dart +++ b/pkg/analysis_server/lib/src/services/completion/yaml/analysis_options_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/yaml/producer.dart'; import 'package:analysis_server/src/services/completion/yaml/yaml_completion_generator.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/yaml/fix_data_generator.dart b/pkg/analysis_server/lib/src/services/completion/yaml/fix_data_generator.dart index 15ef5940589..e1f1d55295f 100644 --- a/pkg/analysis_server/lib/src/services/completion/yaml/fix_data_generator.dart +++ b/pkg/analysis_server/lib/src/services/completion/yaml/fix_data_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/yaml/producer.dart'; import 'package:analysis_server/src/services/completion/yaml/yaml_completion_generator.dart'; import 'package:analyzer/file_system/file_system.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/yaml/producer.dart b/pkg/analysis_server/lib/src/services/completion/yaml/producer.dart index 06a5401d200..c56f9d2f3b1 100644 --- a/pkg/analysis_server/lib/src/services/completion/yaml/producer.dart +++ b/pkg/analysis_server/lib/src/services/completion/yaml/producer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/pub/pub_package_service.dart'; import 'package:analyzer/file_system/file_system.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/yaml/pubspec_generator.dart b/pkg/analysis_server/lib/src/services/completion/yaml/pubspec_generator.dart index d167c72faae..629db2aec63 100644 --- a/pkg/analysis_server/lib/src/services/completion/yaml/pubspec_generator.dart +++ b/pkg/analysis_server/lib/src/services/completion/yaml/pubspec_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/yaml/producer.dart'; import 'package:analysis_server/src/services/completion/yaml/yaml_completion_generator.dart'; diff --git a/pkg/analysis_server/lib/src/services/completion/yaml/yaml_completion_generator.dart b/pkg/analysis_server/lib/src/services/completion/yaml/yaml_completion_generator.dart index e6108494bf1..b6bff4cf8a8 100644 --- a/pkg/analysis_server/lib/src/services/completion/yaml/yaml_completion_generator.dart +++ b/pkg/analysis_server/lib/src/services/completion/yaml/yaml_completion_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/yaml/producer.dart'; import 'package:analysis_server/src/services/pub/pub_package_service.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/assist.dart b/pkg/analysis_server/lib/src/services/correction/assist.dart index 2929cc2b8b4..6b018489a8f 100644 --- a/pkg/analysis_server/lib/src/services/correction/assist.dart +++ b/pkg/analysis_server/lib/src/services/correction/assist.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/assist/assist_dart.dart'; import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/instrumentation/service.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart index 2ea65b834bd..42230fe29aa 100644 --- a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart +++ b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; import 'package:analysis_server/plugin/edit/assist/assist_dart.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/base_processor.dart b/pkg/analysis_server/lib/src/services/correction/base_processor.dart index 836467adb20..07508985dac 100644 --- a/pkg/analysis_server/lib/src/services/correction/base_processor.dart +++ b/pkg/analysis_server/lib/src/services/correction/base_processor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/util.dart'; import 'package:analysis_server/src/utilities/flutter.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/bulk_fix_processor.dart b/pkg/analysis_server/lib/src/services/correction/bulk_fix_processor.dart index c719a1e5e5b..093355b75bc 100644 --- a/pkg/analysis_server/lib/src/services/correction/bulk_fix_processor.dart +++ b/pkg/analysis_server/lib/src/services/correction/bulk_fix_processor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/plugin/edit/fix/fix_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/change_workspace.dart b/pkg/analysis_server/lib/src/services/correction/change_workspace.dart index c206924fa43..579a6148e48 100644 --- a/pkg/analysis_server/lib/src/services/correction/change_workspace.dart +++ b/pkg/analysis_server/lib/src/services/correction/change_workspace.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/analysis/session.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_workspace.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/abstract_producer.dart b/pkg/analysis_server/lib/src/services/correction/dart/abstract_producer.dart index b7e0c1c9831..6bef12b09b6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/abstract_producer.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/abstract_producer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import 'package:_fe_analyzer_shared/src/scanner/token.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_async.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_async.dart index 2e73adb34a1..79c8f6358e2 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_async.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_async.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_await.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_await.dart index 6e72eaee978..7acd73c1fc4 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_await.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_await.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_builder_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_const.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_const.dart index c0e5abecb22..d4b264229f8 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_const.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_const.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_diagnostic_property_reference.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_diagnostic_property_reference.dart index 283dfb039df..649cfbcbc08 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_diagnostic_property_reference.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_diagnostic_property_reference.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_explicit_cast.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_explicit_cast.dart index f66b06f8f9f..aaaf6879c85 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_explicit_cast.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_explicit_cast.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/utilities/extensions/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_field_formal_parameters.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_field_formal_parameters.dart index 6a23e04d2aa..e4ef282f364 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_field_formal_parameters.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_field_formal_parameters.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_late.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_late.dart index 56791c0613d..06bb9e064fa 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_late.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_late.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_enum_case_clauses.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_enum_case_clauses.dart index d4426a0e717..b4825c1f860 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_enum_case_clauses.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_enum_case_clauses.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter.dart index 9b8f4842990..0d40bea8e0b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/executable_parameters.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter_named.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter_named.dart index 93ab6ade30b..e06b063ff39 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter_named.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_parameter_named.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/executable_parameters.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_required_argument.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_required_argument.dart index 40e8f6f5109..d95722a8ac1 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_missing_required_argument.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_missing_required_argument.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/completion/dart/utilities.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_ne_null.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_ne_null.dart index dcaffb5e752..cd75a2bd881 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_ne_null.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_ne_null.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_not_null_assert.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_not_null_assert.dart index 20b8972ea86..fe5c8f69c4b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_not_null_assert.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_not_null_assert.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math'; import 'package:_fe_analyzer_shared/src/scanner/token.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_null_check.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_null_check.dart index bc898f73824..891afc1b3a7 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_null_check.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_null_check.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_override.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_override.dart index 92958f16ef8..5f066c321c7 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_override.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_override.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_required.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_required.dart index 0a5d8694276..81a242b12b4 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_required.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_required.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_builder_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_required_keyword.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_required_keyword.dart index 8e20c54befc..41605203320 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_required_keyword.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_required_keyword.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_return_type.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_return_type.dart index b4d5d8d3da0..dbc3d8d8678 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_return_type.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_return_type.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_static.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_static.dart index 4ee59607c1c..f165efcb4d0 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_static.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_static.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_super_constructor_invocation.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_super_constructor_invocation.dart index 3911cf4c360..cce07f3955a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_super_constructor_invocation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_super_constructor_invocation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/add_type_annotation.dart b/pkg/analysis_server/lib/src/services/correction/dart/add_type_annotation.dart index e2912b0b127..ef04b02ac72 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/add_type_annotation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/add_type_annotation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/assign_to_local_variable.dart b/pkg/analysis_server/lib/src/services/correction/dart/assign_to_local_variable.dart index 92fc7ada1ec..54e77cf789e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/assign_to_local_variable.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/assign_to_local_variable.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/change_argument_name.dart b/pkg/analysis_server/lib/src/services/correction/dart/change_argument_name.dart index 34f81c77692..32a7ec0e882 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/change_argument_name.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/change_argument_name.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/executable_parameters.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/change_to.dart b/pkg/analysis_server/lib/src/services/correction/dart/change_to.dart index c62d89e8827..7ba2aa2a56c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/change_to.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/change_to.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/levenshtein.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/change_to_nearest_precise_value.dart b/pkg/analysis_server/lib/src/services/correction/dart/change_to_nearest_precise_value.dart index 5caea4eb017..ef2e3bac8c8 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/change_to_nearest_precise_value.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/change_to_nearest_precise_value.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/change_to_static_access.dart b/pkg/analysis_server/lib/src/services/correction/dart/change_to_static_access.dart index 02b291fe789..69aad4bf7e0 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/change_to_static_access.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/change_to_static_access.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/change_type_annotation.dart b/pkg/analysis_server/lib/src/services/correction/dart/change_type_annotation.dart index 0dfea8a2e0b..9aef73ebe9f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/change_type_annotation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/change_type_annotation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_add_all_to_spread.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_add_all_to_spread.dart index 181ec8f90f2..06de8b9a888 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_add_all_to_spread.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_add_all_to_spread.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_class_to_mixin.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_class_to_mixin.dart index 00a5ef9f657..d54b7558a9b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_class_to_mixin.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_class_to_mixin.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_conditional_expression_to_if_element.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_conditional_expression_to_if_element.dart index 5f8cc29a1eb..64feabdabdd 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_conditional_expression_to_if_element.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_conditional_expression_to_if_element.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_block.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_block.dart index 7068e13677c..d3e57cf68ea 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_block.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_block.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_line.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_line.dart index f82eeca85f2..5b7b37aa980 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_line.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_documentation_into_line.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_child.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_child.dart index 3556de0fcc1..b7678963001 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_child.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_child.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_children.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_children.dart index 29fd8d03556..5e29768ee52 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_children.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_flutter_children.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_async_body.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_async_body.dart index 1ccaff4a973..5373777103a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_async_body.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_async_body.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_block_body.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_block_body.dart index 629db9db670..20c3d7c818c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_block_body.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_block_body.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_final_field.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_final_field.dart index 95237902dff..0cd856ce2a6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_final_field.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_final_field.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_for_index.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_for_index.dart index eee7b51ff11..39c4e846b4b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_for_index.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_for_index.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_getter.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_getter.dart index 437bb0b2a7e..75b47ca8246 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_getter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_getter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not.dart index 114f8d8c4f7..d39a67dcaa6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not_empty.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not_empty.dart index 98edb9b496a..e236deabc92 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not_empty.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_into_is_not_empty.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_map_from_iterable_to_for_literal.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_map_from_iterable_to_for_literal.dart index 517a309267a..20985e40d3b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_map_from_iterable_to_for_literal.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_map_from_iterable_to_for_literal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_part_of_to_uri.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_part_of_to_uri.dart index 246a7e3cb59..e532273d98e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_part_of_to_uri.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_part_of_to_uri.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_quotes.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_quotes.dart index 0a9021150ca..c853070e4aa 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_quotes.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_quotes.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_contains.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_contains.dart index d1a5302e8ea..7665de9f649 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_contains.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_contains.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_expression_function_body.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_expression_function_body.dart index 138adcc87a4..fd38a12b577 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_expression_function_body.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_expression_function_body.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_field_parameter.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_field_parameter.dart index 886c5990268..ef999da3f5d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_field_parameter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_field_parameter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_generic_function_syntax.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_generic_function_syntax.dart index 9b3906c6966..7b197a44588 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_generic_function_syntax.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_generic_function_syntax.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_if_null.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_if_null.dart index d8ca1d223a8..19e52d84bfa 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_if_null.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_if_null.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_int_literal.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_int_literal.dart index 6ccea9901fb..ed675e7f78a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_int_literal.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_int_literal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_list_literal.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_list_literal.dart index 0f915cd0e10..ba140fa02f0 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_list_literal.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_list_literal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_map_literal.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_map_literal.dart index e1c555acb83..76221ea461e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_map_literal.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_map_literal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_multiline_string.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_multiline_string.dart index e394659d588..0dd99aac705 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_multiline_string.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_multiline_string.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_named_arguments.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_named_arguments.dart index 5f627013756..a4af1c4ee58 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_named_arguments.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_named_arguments.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_normal_parameter.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_normal_parameter.dart index 9e488f2df3d..b220afd36cd 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_normal_parameter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_normal_parameter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware.dart index 3a921922ace..53077744c8b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware_spread.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware_spread.dart index 765178a58fa..8f54f3808f5 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware_spread.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_null_aware_spread.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_on_type.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_on_type.dart index 470c614c4eb..ead067d429a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_on_type.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_on_type.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_package_import.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_package_import.dart index 08e3f39bc05..074e90c7498 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_package_import.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_package_import.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_relative_import.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_relative_import.dart index ee82eb3dce2..a312a32014f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_relative_import.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_relative_import.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_set_literal.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_set_literal.dart index 4fcf3c9ee43..fb2b42c636e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_set_literal.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_set_literal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_where_type.dart b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_where_type.dart index 5fe1a843012..eb508d459c6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/convert_to_where_type.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/convert_to_where_type.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_class.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_class.dart index 90624aebac8..05d4f47b76f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_class.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_class.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_constructor.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_constructor.dart index aa2739b0ae9..6526f89f184 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_constructor.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_constructor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_for_final_fields.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_for_final_fields.dart index 2c879f182ae..62a920e2ffc 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_for_final_fields.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_for_final_fields.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_super.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_super.dart index 23223baf467..212261b57e4 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_super.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_constructor_super.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_field.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_field.dart index 1a722756a8a..fa00de26775 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_field.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_field.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_file.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_file.dart index e64471b0f39..6dd55bf8933 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_file.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_file.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_function.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_function.dart index 05a71da0ac7..2351d575867 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_function.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_function.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_getter.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_getter.dart index 5b38e570578..3ca2941a1dd 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_getter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_getter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_local_variable.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_local_variable.dart index 08cb4f8be65..42ba1d73bfc 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_local_variable.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_local_variable.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_method.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_method.dart index 9ded1dc0bf4..66397fcac96 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_method.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_method.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_method_or_function.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_method_or_function.dart index 166d4479b20..c8319284cc2 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_method_or_function.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_method_or_function.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_missing_overrides.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_missing_overrides.dart index d0fac46cf88..a1e58816d0c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_missing_overrides.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_missing_overrides.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/utilities/strings.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_mixin.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_mixin.dart index c4a81314126..6f783b2afb8 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_mixin.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_mixin.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_no_such_method.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_no_such_method.dart index aa6250339f7..92af6ca61c2 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_no_such_method.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_no_such_method.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/create_setter.dart b/pkg/analysis_server/lib/src/services/correction/dart/create_setter.dart index c89701f3307..c6c7fc59e80 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/create_setter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/create_setter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/data_driven.dart b/pkg/analysis_server/lib/src/services/correction/dart/data_driven.dart index e4c9bd38bdd..1f2770bcc57 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/data_driven.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/data_driven.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/encapsulate_field.dart b/pkg/analysis_server/lib/src/services/correction/dart/encapsulate_field.dart index 23d6686ec32..d5aa8b9f61f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/encapsulate_field.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/encapsulate_field.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/exchange_operands.dart b/pkg/analysis_server/lib/src/services/correction/dart/exchange_operands.dart index 54bbe13925d..bb6b9de4f6a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/exchange_operands.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/exchange_operands.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/extend_class_for_mixin.dart b/pkg/analysis_server/lib/src/services/correction/dart/extend_class_for_mixin.dart index a223381875e..e9eab92d50c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/extend_class_for_mixin.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/extend_class_for_mixin.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_children.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_children.dart index 5bcc3fcd5d8..01cc86a59ad 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_children.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_children.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_stateful_widget.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_stateful_widget.dart index 80aa9aeb6d2..48cf3277f67 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_stateful_widget.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_convert_to_stateful_widget.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_down.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_down.dart index 1e2fa0fd4af..740afed9ee9 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_down.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_down.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_up.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_up.dart index 8513af748e6..ec29164bbb3 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_up.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_move_up.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_remove_widget.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_remove_widget.dart index c260fac9427..0158fbc4274 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_remove_widget.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_remove_widget.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_child.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_child.dart index c5442e8f69e..c1c46e55f63 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_child.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_child.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_parent.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_parent.dart index cfb62b0c8e6..a8b9f8b5634 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_parent.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_swap_with_parent.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/flutter_swap_with_child.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap.dart index b2d6d989538..a6400d8bc31 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/selection_analyzer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_generic.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_generic.dart index 5fcd235c3ae..4938af4875f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_generic.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_generic.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_stream_builder.dart b/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_stream_builder.dart index 4e5535a7c37..50f11bb6bc0 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_stream_builder.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/flutter_wrap_stream_builder.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/import_add_show.dart b/pkg/analysis_server/lib/src/services/correction/dart/import_add_show.dart index 2b53b990666..19ee67554d1 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/import_add_show.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/import_add_show.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/services/correction/assist.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/import_library.dart b/pkg/analysis_server/lib/src/services/correction/dart/import_library.dart index da36857e3af..872fd343810 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/import_library.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/import_library.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/inline_invocation.dart b/pkg/analysis_server/lib/src/services/correction/dart/inline_invocation.dart index de2dac5ee12..eb35756d37b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/inline_invocation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/inline_invocation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/inline_typedef.dart b/pkg/analysis_server/lib/src/services/correction/dart/inline_typedef.dart index 6cc3abd708c..6790500244f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/inline_typedef.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/inline_typedef.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/insert_semicolon.dart b/pkg/analysis_server/lib/src/services/correction/dart/insert_semicolon.dart index 04ba0b46799..8c837c192bf 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/insert_semicolon.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/insert_semicolon.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/introduce_local_cast_type.dart b/pkg/analysis_server/lib/src/services/correction/dart/introduce_local_cast_type.dart index af8eb02d9d0..c696b4323e7 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/introduce_local_cast_type.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/introduce_local_cast_type.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/name_suggestion.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/invert_if_statement.dart b/pkg/analysis_server/lib/src/services/correction/dart/invert_if_statement.dart index 38e35f24c81..2fa703ac79e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/invert_if_statement.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/invert_if_statement.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_inner.dart b/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_inner.dart index 0c55e56c5c4..00337c67cf2 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_inner.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_inner.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_outer.dart b/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_outer.dart index 1e5ca889ad7..22761fe7018 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_outer.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/join_if_with_outer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/join_variable_declaration.dart b/pkg/analysis_server/lib/src/services/correction/dart/join_variable_declaration.dart index dfa930568a5..c7713a2a618 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/join_variable_declaration.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/join_variable_declaration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/make_class_abstract.dart b/pkg/analysis_server/lib/src/services/correction/dart/make_class_abstract.dart index c585b2ef659..416e4fa6648 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/make_class_abstract.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/make_class_abstract.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/make_field_not_final.dart b/pkg/analysis_server/lib/src/services/correction/dart/make_field_not_final.dart index b8db161bc88..ab137ebbf13 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/make_field_not_final.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/make_field_not_final.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/make_final.dart b/pkg/analysis_server/lib/src/services/correction/dart/make_final.dart index 3ae0f99ac51..f3063c1046d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/make_final.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/make_final.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/make_return_type_nullable.dart b/pkg/analysis_server/lib/src/services/correction/dart/make_return_type_nullable.dart index fa90e5f5e01..bdc633e1ea7 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/make_return_type_nullable.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/make_return_type_nullable.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/make_variable_not_final.dart b/pkg/analysis_server/lib/src/services/correction/dart/make_variable_not_final.dart index 276549b3772..4eb043ff4f6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/make_variable_not_final.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/make_variable_not_final.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/make_variable_nullable.dart b/pkg/analysis_server/lib/src/services/correction/dart/make_variable_nullable.dart index fcc42fd2613..62f86961301 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/make_variable_nullable.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/make_variable_nullable.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/move_type_arguments_to_class.dart b/pkg/analysis_server/lib/src/services/correction/dart/move_type_arguments_to_class.dart index 8381a75bdd2..95503c83689 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/move_type_arguments_to_class.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/move_type_arguments_to_class.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/organize_imports.dart b/pkg/analysis_server/lib/src/services/correction/dart/organize_imports.dart index 4c17e69ab6a..fc2aa602287 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/organize_imports.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/organize_imports.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/organize_imports.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/qualify_reference.dart b/pkg/analysis_server/lib/src/services/correction/dart/qualify_reference.dart index fd81e7522b6..968562bff10 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/qualify_reference.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/qualify_reference.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_annotation.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_annotation.dart index 6a6d1597084..1ab65d1d42e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_annotation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_annotation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_argument.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_argument.dart index e864bb9ea5d..d7a3eda9190 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_argument.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_argument.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_await.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_await.dart index b5671b28ecd..c25a7ae821d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_await.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_await.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_comparison.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_comparison.dart index 880222618ff..617d8e93407 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_comparison.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_comparison.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_const.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_const.dart index 485e7daeebe..c540cec835b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_const.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_const.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_code.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_code.dart index bf9b3f1197f..3fadc64ad71 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_code.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_code.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_if_null.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_if_null.dart index 17e9a2d1cf3..cff4eb28210 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_if_null.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_dead_if_null.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_duplicate_case.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_duplicate_case.dart index 88e3bfd5b5b..d6146efd27c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_duplicate_case.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_duplicate_case.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_catch.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_catch.dart index c2ac9e5cba1..394ee3207ad 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_catch.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_catch.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_constructor_body.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_constructor_body.dart index 07e6a476782..b72c2f2305d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_constructor_body.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_constructor_body.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_else.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_else.dart index 3c07e57d191..aab26663d4e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_else.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_else.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_statement.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_statement.dart index e45057a81fb..ecd86e31295 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_statement.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_empty_statement.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_if_null_operator.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_if_null_operator.dart index 5d75e082d24..9397912939c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_if_null_operator.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_if_null_operator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_initializer.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_initializer.dart index a9272010154..c1b1080f767 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_initializer.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_initializer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_interpolation_braces.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_interpolation_braces.dart index 03ceb42a088..8d2a673e627 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_interpolation_braces.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_interpolation_braces.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_method_declaration.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_method_declaration.dart index db3ac4035ea..d9c0e81676f 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_method_declaration.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_method_declaration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_name_from_combinator.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_name_from_combinator.dart index e0cde53318b..107f650f604 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_name_from_combinator.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_name_from_combinator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_non_null_assertion.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_non_null_assertion.dart index ff01bf52338..79c891065e1 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_non_null_assertion.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_non_null_assertion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_operator.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_operator.dart index 1b44daf26b1..ddbfc3b505c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_operator.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_operator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_parameters_in_getter_declaration.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_parameters_in_getter_declaration.dart index 281e9a6cdad..0d9cd839242 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_parameters_in_getter_declaration.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_parameters_in_getter_declaration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_parentheses_in_getter_invocation.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_parentheses_in_getter_invocation.dart index 97e5d0f8639..cd52486ec47 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_parentheses_in_getter_invocation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_parentheses_in_getter_invocation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_question_mark.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_question_mark.dart index 378c883c080..cadd19912c5 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_question_mark.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_question_mark.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_this_expression.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_this_expression.dart index 0f412781d60..30fd8a4e4f8 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_this_expression.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_this_expression.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_type_annotation.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_type_annotation.dart index e58c795724b..997c1ee2949 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_type_annotation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_type_annotation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_type_arguments.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_type_arguments.dart index 815154e9adc..9423b86c0f6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_type_arguments.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_type_arguments.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_cast.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_cast.dart index 1cf53bb279b..a087d1dd12a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_cast.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_cast.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_new.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_new.dart index a613dfd5812..86e1bf9f617 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_new.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_new.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_parentheses.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_parentheses.dart index 7baa9e04215..39d7d8c1345 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_parentheses.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_parentheses.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_string_interpolation.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_string_interpolation.dart index 6651bf4888b..a6cf0b931fa 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_string_interpolation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_string_interpolation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused.dart index 156be05f82a..700bf1a796e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_clause.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_clause.dart index 078124edbe1..598133053bf 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_clause.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_clause.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_stack.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_stack.dart index a757788d7b9..f03e3c77392 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_stack.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_catch_stack.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_import.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_import.dart index 3fa7457e9c8..d5336a01146 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_import.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_import.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_label.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_label.dart index 86e508c49a2..9939f3feb8d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_label.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_label.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_local_variable.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_local_variable.dart index e3b5cf2397f..9fe3616711d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_local_variable.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_local_variable.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_parameter.dart b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_parameter.dart index 62037ee038d..2700eb188a6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_parameter.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/remove_unused_parameter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/rename_to_camel_case.dart b/pkg/analysis_server/lib/src/services/correction/dart/rename_to_camel_case.dart index 41307472458..7e61a0e715b 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/rename_to_camel_case.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/rename_to_camel_case.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_boolean_with_bool.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_boolean_with_bool.dart index 0105fed1100..5039e9b73fa 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_boolean_with_bool.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_boolean_with_bool.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_builder_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart index eba59dafa1d..00d41c36b03 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_cascade_with_dot.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_colon_with_equals.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_colon_with_equals.dart index 70f6134e09f..4f9b235753a 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_colon_with_equals.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_colon_with_equals.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_conditional_with_if_else.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_conditional_with_if_else.dart index 197ec2ac2c8..adb16a848e7 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_conditional_with_if_else.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_conditional_with_if_else.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_const.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_const.dart index c6440200c21..3a77351f735 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_const.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_const.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_var.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_var.dart index 47662903c79..58a4a763b94 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_var.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_final_with_var.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_if_else_with_conditional.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_if_else_with_conditional.dart index 85e95996ce9..92249217a82 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_if_else_with_conditional.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_if_else_with_conditional.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_new_with_const.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_new_with_const.dart index 85c1ae080b0..9a9cd772c22 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_new_with_const.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_new_with_const.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_null_with_closure.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_null_with_closure.dart index 0744780594c..39aabc28bdc 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_null_with_closure.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_null_with_closure.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_return_type_future.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_return_type_future.dart index 6af3d1f6350..3d0000a5c3e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_return_type_future.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_return_type_future.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_var_with_dynamic.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_var_with_dynamic.dart index d0176ed8f75..3da975fd5ab 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_var_with_dynamic.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_var_with_dynamic.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_builder_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_brackets.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_brackets.dart index eb4fc02a015..83f4cafb770 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_brackets.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_brackets.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_conditional_assignment.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_conditional_assignment.dart index 0d81cddf542..e7dfbd2eda4 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_conditional_assignment.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_conditional_assignment.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_eight_digit_hex.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_eight_digit_hex.dart index 65db348e613..d0c722960da 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_eight_digit_hex.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_eight_digit_hex.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_extension_name.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_extension_name.dart index 5ebc324ec04..ed7fa480227 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_extension_name.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_extension_name.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_filled.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_filled.dart index 860e6207bb6..fc40853fb08 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_filled.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_filled.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_identifier.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_identifier.dart index 9b308179c6b..33d0b66ec34 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_identifier.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_identifier.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_interpolation.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_interpolation.dart index aaafcb8641d..77aa0272ed2 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_interpolation.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_interpolation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_is_empty.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_is_empty.dart index 4238767280b..9c02fdad4e9 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_is_empty.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_is_empty.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_not_null_aware.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_not_null_aware.dart index 75d20bcbf69..4cc14c005f1 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_not_null_aware.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_not_null_aware.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_null_aware.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_null_aware.dart index 20aeeb97555..0f36a394e76 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_null_aware.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_null_aware.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_tear_off.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_tear_off.dart index 6d6434fdf28..44df3ffd70e 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_tear_off.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_tear_off.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_var.dart b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_var.dart index 64a2f1d95e0..dcdee93b5e1 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/replace_with_var.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/replace_with_var.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/shadow_field.dart b/pkg/analysis_server/lib/src/services/correction/dart/shadow_field.dart index 2f96ebb74a1..8f4de40282d 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/shadow_field.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/shadow_field.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/sort_child_property_last.dart b/pkg/analysis_server/lib/src/services/correction/dart/sort_child_property_last.dart index d478b33228a..6f0d39264ce 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/sort_child_property_last.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/sort_child_property_last.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/split_and_condition.dart b/pkg/analysis_server/lib/src/services/correction/dart/split_and_condition.dart index 1f38c2618e6..f358b4e817c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/split_and_condition.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/split_and_condition.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/split_variable_declaration.dart b/pkg/analysis_server/lib/src/services/correction/dart/split_variable_declaration.dart index faac0be5013..c5b109e4fd9 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/split_variable_declaration.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/split_variable_declaration.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/surround_with.dart b/pkg/analysis_server/lib/src/services/correction/dart/surround_with.dart index be324d42cc8..e2868bbda30 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/surround_with.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/surround_with.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/statement_analyzer.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/update_sdk_constraints.dart b/pkg/analysis_server/lib/src/services/correction/dart/update_sdk_constraints.dart index f25d1165cac..dddf35152ec 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/update_sdk_constraints.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/update_sdk_constraints.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/file_system/file_system.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_const.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_const.dart index 4ac0dfc6619..1c9d8238bd3 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_const.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_const.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_curly_braces.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_curly_braces.dart index fc35192a4e8..f76e561a7a6 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_curly_braces.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_curly_braces.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_effective_integer_division.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_effective_integer_division.dart index 7c086e377eb..babab166357 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_effective_integer_division.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_effective_integer_division.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_eq_eq_null.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_eq_eq_null.dart index 86ad614abdb..ce4e1f4800c 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_eq_eq_null.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_eq_eq_null.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_is_not_empty.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_is_not_empty.dart index 665dc9cee13..ca10cbfe3ab 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_is_not_empty.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_is_not_empty.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_not_eq_null.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_not_eq_null.dart index e53bc024954..120e87d75fb 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_not_eq_null.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_not_eq_null.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/use_rethrow.dart b/pkg/analysis_server/lib/src/services/correction/dart/use_rethrow.dart index 8c31100a9ec..dc5522023dc 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/use_rethrow.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/use_rethrow.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_future.dart b/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_future.dart index 1ccd8870ed6..794bb729ce0 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_future.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_future.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_text.dart b/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_text.dart index 53776c3093e..bfd97f5ff33 100644 --- a/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_text.dart +++ b/pkg/analysis_server/lib/src/services/correction/dart/wrap_in_text.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/abstract_producer.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/executable_parameters.dart b/pkg/analysis_server/lib/src/services/correction/executable_parameters.dart index 6f66ef24fd5..7fc75581125 100644 --- a/pkg/analysis_server/lib/src/services/correction/executable_parameters.dart +++ b/pkg/analysis_server/lib/src/services/correction/executable_parameters.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix.dart b/pkg/analysis_server/lib/src/services/correction/fix.dart index 01063f446c9..f0f4dcbbb80 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/fix/fix_dart.dart'; import 'package:analysis_server/src/services/correction/fix/dart/top_level_declarations.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/analysis_options/fix_generator.dart b/pkg/analysis_server/lib/src/services/correction/fix/analysis_options/fix_generator.dart index 241673eec9b..31034bfc25d 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/analysis_options/fix_generator.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/analysis_options/fix_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/dart/top_level_declarations.dart b/pkg/analysis_server/lib/src/services/correction/fix/dart/top_level_declarations.dart index 5c51d4348f9..ecfca96919b 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/dart/top_level_declarations.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/dart/top_level_declarations.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/analysis/analysis_context.dart'; import 'package:analyzer/src/services/available_declarations.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/accessor.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/accessor.dart index 765e12002f0..bbfdd2a12b9 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/accessor.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/accessor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/parameter_reference.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/add_type_parameter.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/add_type_parameter.dart index 1dc11da4a20..c75c1dc87d6 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/add_type_parameter.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/add_type_parameter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/change.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/change.dart index f73f6aefeb4..2966d5578aa 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/change.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/change.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_builder_dart.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/changes_selector.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/changes_selector.dart index c4415752389..e8e7a332dc8 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/changes_selector.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/changes_selector.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/expression.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_fragment_parser.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_fragment_parser.dart index 27dd4cb7f77..bebdc17ff9b 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_fragment_parser.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_fragment_parser.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/accessor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/expression.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/parameter_reference.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_template.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_template.dart index 4fc44c54790..3a89d93ca7e 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_template.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/code_template.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/expression.dart' as data_driven; import 'package:analysis_server/src/services/correction/fix/data_driven/value_generator.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_descriptor.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_descriptor.dart index ae3f501c787..9eeedf3e2d8 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_descriptor.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_descriptor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/element_kind.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart' show ClassElement; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_kind.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_kind.dart index c0233f7aca8..be3d61ea1b5 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_kind.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_kind.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// An indication of the kind of an element. enum ElementKind { classKind, diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_matcher.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_matcher.dart index d07b0757f01..fe8ba62f582 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_matcher.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/element_matcher.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/element_descriptor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_kind.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/expression.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/expression.dart index 9f56ae1fe2c..3a554d36d07 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/expression.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/expression.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/value_generator.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart index 04c7d6e7029..76ec8f6b514 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/modify_parameters.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/parameter_reference.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/parameter_reference.dart index d2fc3642779..662a953ce37 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/parameter_reference.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/parameter_reference.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/ast/ast.dart'; /// A reference to a named parameter. diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename.dart index 58eb217afbc..b7958ad97fc 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename_parameter.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename_parameter.dart index 97065b70a42..7f9dbacb7a9 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename_parameter.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/rename_parameter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform.dart index 0a60dd730ee..cc03b2971da 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/changes_selector.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_descriptor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_matcher.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override.dart index abb72460255..b873abad005 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:meta/meta.dart'; /// A description of a set of changes to a single transform. diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set.dart index 597efdea8f1..9b18a0fc5ea 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_override.dart'; /// A description of a set of transform overrides. diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set_parser.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set_parser.dart index 29e814f8f53..30c3995fe5e 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set_parser.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_override_set_parser.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_override.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_override_set.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set.dart index de1b7dd10d4..5ef1a7aa3bb 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/element_matcher.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_override_set.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_error_code.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_error_code.dart index 508635c78d0..10a8af97adb 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_error_code.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_error_code.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + // ignore_for_file: prefer_single_quotes, slash_for_doc_comments import 'package:analyzer/error/error.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_manager.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_manager.dart index 23ad91155f7..38f3aa05ecc 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_manager.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_manager.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_parser.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_parser.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_parser.dart index 21e7d1d8712..eb162b39bb8 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_parser.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/transform_set_parser.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/add_type_parameter.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/changes_selector.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/value_generator.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/value_generator.dart index 16c838899dd..fc9b2fb0bf8 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/value_generator.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/value_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/accessor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/variable_scope.dart b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/variable_scope.dart index 0ae0c27beea..6137a327473 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/data_driven/variable_scope.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/data_driven/variable_scope.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/value_generator.dart'; /// A scope in which the generators associated with variables can be looked up. diff --git a/pkg/analysis_server/lib/src/services/correction/fix/manifest/fix_generator.dart b/pkg/analysis_server/lib/src/services/correction/fix/manifest/fix_generator.dart index ebc74312617..b2d0854e7d6 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/manifest/fix_generator.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/manifest/fix_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix/pubspec/fix_generator.dart b/pkg/analysis_server/lib/src/services/correction/fix/pubspec/fix_generator.dart index d82b128e976..62130a929bd 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix/pubspec/fix_generator.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix/pubspec/fix_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart index a0402733faf..dfc9b799275 100644 --- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart +++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/levenshtein.dart b/pkg/analysis_server/lib/src/services/correction/levenshtein.dart index 42f8cda58bb..7146b2d2289 100644 --- a/pkg/analysis_server/lib/src/services/correction/levenshtein.dart +++ b/pkg/analysis_server/lib/src/services/correction/levenshtein.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; /// The value returned by [levenshtein] if the distance is determined diff --git a/pkg/analysis_server/lib/src/services/correction/name_suggestion.dart b/pkg/analysis_server/lib/src/services/correction/name_suggestion.dart index a06b069078d..b52a410912c 100644 --- a/pkg/analysis_server/lib/src/services/correction/name_suggestion.dart +++ b/pkg/analysis_server/lib/src/services/correction/name_suggestion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/utilities/strings.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/namespace.dart b/pkg/analysis_server/lib/src/services/correction/namespace.dart index 30c5494665c..98423a22e07 100644 --- a/pkg/analysis_server/lib/src/services/correction/namespace.dart +++ b/pkg/analysis_server/lib/src/services/correction/namespace.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/src/dart/resolver/scope.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/organize_imports.dart b/pkg/analysis_server/lib/src/services/correction/organize_imports.dart index 22e440bef98..d051fa9f928 100644 --- a/pkg/analysis_server/lib/src/services/correction/organize_imports.dart +++ b/pkg/analysis_server/lib/src/services/correction/organize_imports.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/utilities/strings.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/token.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/selection_analyzer.dart b/pkg/analysis_server/lib/src/services/correction/selection_analyzer.dart index deac73d913e..d71a7e10ce1 100644 --- a/pkg/analysis_server/lib/src/services/correction/selection_analyzer.dart +++ b/pkg/analysis_server/lib/src/services/correction/selection_analyzer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/visitor.dart'; import 'package:analyzer/src/generated/source.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/sort_members.dart b/pkg/analysis_server/lib/src/services/correction/sort_members.dart index cf3db414267..34fb091070a 100644 --- a/pkg/analysis_server/lib/src/services/correction/sort_members.dart +++ b/pkg/analysis_server/lib/src/services/correction/sort_members.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/organize_imports.dart'; import 'package:analysis_server/src/utilities/strings.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/source_buffer.dart b/pkg/analysis_server/lib/src/services/correction/source_buffer.dart index 323c721e7df..55dcdc003a8 100644 --- a/pkg/analysis_server/lib/src/services/correction/source_buffer.dart +++ b/pkg/analysis_server/lib/src/services/correction/source_buffer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Helper for building Dart source with linked positions. class SourceBuilder { final String file; diff --git a/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart b/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart index 96e8e891b2e..3f62794ab84 100644 --- a/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart +++ b/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/correction/selection_analyzer.dart'; import 'package:analysis_server/src/services/correction/status.dart'; diff --git a/pkg/analysis_server/lib/src/services/correction/status.dart b/pkg/analysis_server/lib/src/services/correction/status.dart index 20c2268af29..d5528745cfe 100644 --- a/pkg/analysis_server/lib/src/services/correction/status.dart +++ b/pkg/analysis_server/lib/src/services/correction/status.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; /// An outcome of a condition checking operation. diff --git a/pkg/analysis_server/lib/src/services/correction/util.dart b/pkg/analysis_server/lib/src/services/correction/util.dart index 9914359294f..903f88fd5a0 100644 --- a/pkg/analysis_server/lib/src/services/correction/util.dart +++ b/pkg/analysis_server/lib/src/services/correction/util.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math'; import 'package:analysis_server/src/protocol_server.dart' diff --git a/pkg/analysis_server/lib/src/services/flutter/class_description.dart b/pkg/analysis_server/lib/src/services/flutter/class_description.dart index f3b8a83ef46..b8caaf249dd 100644 --- a/pkg/analysis_server/lib/src/services/flutter/class_description.dart +++ b/pkg/analysis_server/lib/src/services/flutter/class_description.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/dart/element/type.dart'; diff --git a/pkg/analysis_server/lib/src/services/flutter/property.dart b/pkg/analysis_server/lib/src/services/flutter/property.dart index 25f01abbd5c..d7dce191f44 100644 --- a/pkg/analysis_server/lib/src/services/flutter/property.dart +++ b/pkg/analysis_server/lib/src/services/flutter/property.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analysis_server/src/services/flutter/class_description.dart'; import 'package:analysis_server/src/utilities/flutter.dart'; diff --git a/pkg/analysis_server/lib/src/services/flutter/widget_descriptions.dart b/pkg/analysis_server/lib/src/services/flutter/widget_descriptions.dart index e24d8d50bfb..b33557de203 100644 --- a/pkg/analysis_server/lib/src/services/flutter/widget_descriptions.dart +++ b/pkg/analysis_server/lib/src/services/flutter/widget_descriptions.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analysis_server/src/services/flutter/class_description.dart'; import 'package:analysis_server/src/services/flutter/property.dart'; diff --git a/pkg/analysis_server/lib/src/services/kythe/kythe_visitors.dart b/pkg/analysis_server/lib/src/services/kythe/kythe_visitors.dart index f2f430f8653..57085d1a9f3 100644 --- a/pkg/analysis_server/lib/src/services/kythe/kythe_visitors.dart +++ b/pkg/analysis_server/lib/src/services/kythe/kythe_visitors.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/lib/src/services/kythe/schema.dart b/pkg/analysis_server/lib/src/services/kythe/schema.dart index 3016742e581..dfd091e6aea 100644 --- a/pkg/analysis_server/lib/src/services/kythe/schema.dart +++ b/pkg/analysis_server/lib/src/services/kythe/schema.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// This file gathers constant strings from the Kythe Schema: /// kythe.io/docs/schema/ diff --git a/pkg/analysis_server/lib/src/services/linter/lint_names.dart b/pkg/analysis_server/lib/src/services/linter/lint_names.dart index cc4823fe4a0..cfaf553bda2 100644 --- a/pkg/analysis_server/lib/src/services/linter/lint_names.dart +++ b/pkg/analysis_server/lib/src/services/linter/lint_names.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// An enumeration of lint names. class LintNames { static const String always_declare_return_types = diff --git a/pkg/analysis_server/lib/src/services/pub/pub_api.dart b/pkg/analysis_server/lib/src/services/pub/pub_api.dart index 7f43aa000a9..a9e504afc42 100644 --- a/pkg/analysis_server/lib/src/services/pub/pub_api.dart +++ b/pkg/analysis_server/lib/src/services/pub/pub_api.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/services/pub/pub_package_service.dart b/pkg/analysis_server/lib/src/services/pub/pub_package_service.dart index aca37e48fe8..09d0c8061a4 100644 --- a/pkg/analysis_server/lib/src/services/pub/pub_package_service.dart +++ b/pkg/analysis_server/lib/src/services/pub/pub_package_service.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/convert_getter_to_method.dart b/pkg/analysis_server/lib/src/services/refactoring/convert_getter_to_method.dart index 5c1e88af88f..b2f9f1316f8 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/convert_getter_to_method.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/convert_getter_to_method.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/convert_method_to_getter.dart b/pkg/analysis_server/lib/src/services/refactoring/convert_method_to_getter.dart index c1d584c558f..7fb6210db20 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/convert_method_to_getter.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/convert_method_to_getter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/extract_local.dart b/pkg/analysis_server/lib/src/services/refactoring/extract_local.dart index 792e05eb029..e6ffa45560f 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/extract_local.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/extract_local.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/protocol_server.dart' hide Element; diff --git a/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart b/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart index 81e08f18b21..d9c1a15266c 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/name_suggestion.dart'; import 'package:analysis_server/src/services/correction/selection_analyzer.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/extract_widget.dart b/pkg/analysis_server/lib/src/services/refactoring/extract_widget.dart index 957068033eb..f7f67c7ac22 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/extract_widget.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/extract_widget.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart b/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart index 0710a92dcf2..bbfccb9161c 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart index 1489cd79451..0b6f4a21133 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/move_file.dart b/pkg/analysis_server/lib/src/services/refactoring/move_file.dart index 94d8faf9c82..2c929453b85 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/move_file.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/move_file.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:core'; import 'package:analysis_server/src/protocol_server.dart' hide Element; diff --git a/pkg/analysis_server/lib/src/services/refactoring/naming_conventions.dart b/pkg/analysis_server/lib/src/services/refactoring/naming_conventions.dart index 3cd4fe34709..735bed94048 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/naming_conventions.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/naming_conventions.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/scanner/token.dart' show Keyword; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/utilities/strings.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart b/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart index 9d2e00f7ac0..fbd4d3bf228 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/convert_getter_to_method.dart'; import 'package:analysis_server/src/services/refactoring/convert_method_to_getter.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/refactoring_internal.dart b/pkg/analysis_server/lib/src/services/refactoring/refactoring_internal.dart index 1677bb8295e..dd05a9bd7cb 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/refactoring_internal.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/refactoring_internal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/protocol_server.dart' hide Element; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename.dart b/pkg/analysis_server/lib/src/services/refactoring/rename.dart index 6c25dd6fed6..35d547b6004 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_class_member.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_class_member.dart index 7f96d3ae2c8..eb2ab3c3902 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_class_member.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_class_member.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element, ElementKind; import 'package:analysis_server/src/services/correction/status.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart index 1009de9b81c..3d6edf8b61f 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/correction/util.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_extension_member.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_extension_member.dart index 6187abee7c8..2665ac75a23 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_extension_member.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_extension_member.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element, ElementKind; import 'package:analysis_server/src/services/correction/status.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart index 0dfbac58c7d..04eeea25fa4 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/naming_conventions.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_label.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_label.dart index d32922a509e..86873b027c8 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_label.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_label.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/naming_conventions.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_library.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_library.dart index 68b8849a78d..1338bbcbbbe 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_library.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_library.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/naming_conventions.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart index 3b3d4926456..04fa3360f48 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element, ElementKind; import 'package:analysis_server/src/services/correction/status.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart index 05cf609af11..2afbf500712 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' show newLocation_fromElement, newLocation_fromMatch; import 'package:analysis_server/src/services/correction/status.dart'; diff --git a/pkg/analysis_server/lib/src/services/refactoring/visible_ranges_computer.dart b/pkg/analysis_server/lib/src/services/refactoring/visible_ranges_computer.dart index 4d15c8ee7d2..4eaa39c486f 100644 --- a/pkg/analysis_server/lib/src/services/refactoring/visible_ranges_computer.dart +++ b/pkg/analysis_server/lib/src/services/refactoring/visible_ranges_computer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/ast/visitor.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/services/search/element_visitors.dart b/pkg/analysis_server/lib/src/services/search/element_visitors.dart index d3e11ae7ac5..de03c6fb964 100644 --- a/pkg/analysis_server/lib/src/services/search/element_visitors.dart +++ b/pkg/analysis_server/lib/src/services/search/element_visitors.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/dart/element/visitor.dart'; diff --git a/pkg/analysis_server/lib/src/services/search/hierarchy.dart b/pkg/analysis_server/lib/src/services/search/hierarchy.dart index 7a3f90e99fa..6d30c6b0e9a 100644 --- a/pkg/analysis_server/lib/src/services/search/hierarchy.dart +++ b/pkg/analysis_server/lib/src/services/search/hierarchy.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/services/search/element_visitors.dart'; diff --git a/pkg/analysis_server/lib/src/services/search/search_engine.dart b/pkg/analysis_server/lib/src/services/search/search_engine.dart index 95b74eca7c6..8addf0afdc6 100644 --- a/pkg/analysis_server/lib/src/services/search/search_engine.dart +++ b/pkg/analysis_server/lib/src/services/search/search_engine.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/src/generated/source.dart'; diff --git a/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart b/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart index ddc1c22348c..3f5cd2211ae 100644 --- a/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart +++ b/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/search/search_engine.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/src/dart/analysis/driver.dart'; diff --git a/pkg/analysis_server/lib/src/socket_server.dart b/pkg/analysis_server/lib/src/socket_server.dart index a72d97b7c44..df0d3e24f9b 100644 --- a/pkg/analysis_server/lib/src/socket_server.dart +++ b/pkg/analysis_server/lib/src/socket_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/analysis_server.dart'; diff --git a/pkg/analysis_server/lib/src/status/ast_writer.dart b/pkg/analysis_server/lib/src/status/ast_writer.dart index 29a96b83f57..ef6cc8e7ac0 100644 --- a/pkg/analysis_server/lib/src/status/ast_writer.dart +++ b/pkg/analysis_server/lib/src/status/ast_writer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analysis_server/src/status/tree_writer.dart'; diff --git a/pkg/analysis_server/lib/src/status/diagnostics.dart b/pkg/analysis_server/lib/src/status/diagnostics.dart index 7818392ed79..bfb39c7655f 100644 --- a/pkg/analysis_server/lib/src/status/diagnostics.dart +++ b/pkg/analysis_server/lib/src/status/diagnostics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:developer' as developer; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/status/element_writer.dart b/pkg/analysis_server/lib/src/status/element_writer.dart index 20e2720a948..e75777c2fd0 100644 --- a/pkg/analysis_server/lib/src/status/element_writer.dart +++ b/pkg/analysis_server/lib/src/status/element_writer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'dart:convert'; diff --git a/pkg/analysis_server/lib/src/status/pages.dart b/pkg/analysis_server/lib/src/status/pages.dart index 177f04f45e1..2edec799920 100644 --- a/pkg/analysis_server/lib/src/status/pages.dart +++ b/pkg/analysis_server/lib/src/status/pages.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/status/tree_writer.dart b/pkg/analysis_server/lib/src/status/tree_writer.dart index 4ed9ad0d073..25bd0249f49 100644 --- a/pkg/analysis_server/lib/src/status/tree_writer.dart +++ b/pkg/analysis_server/lib/src/status/tree_writer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analyzer/exception/exception.dart'; diff --git a/pkg/analysis_server/lib/src/utilities/extensions/ast.dart b/pkg/analysis_server/lib/src/utilities/extensions/ast.dart index 1287b2e9315..d7eaa90645b 100644 --- a/pkg/analysis_server/lib/src/utilities/extensions/ast.dart +++ b/pkg/analysis_server/lib/src/utilities/extensions/ast.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/utilities/extensions/element.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/utilities/extensions/element.dart b/pkg/analysis_server/lib/src/utilities/extensions/element.dart index 1d6b14c1a60..b9f85ed5a16 100644 --- a/pkg/analysis_server/lib/src/utilities/extensions/element.dart +++ b/pkg/analysis_server/lib/src/utilities/extensions/element.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/element/element.dart'; extension ClassElementExtensions on ClassElement { diff --git a/pkg/analysis_server/lib/src/utilities/extensions/numeric.dart b/pkg/analysis_server/lib/src/utilities/extensions/numeric.dart index 005763f997a..b4f7f780de9 100644 --- a/pkg/analysis_server/lib/src/utilities/extensions/numeric.dart +++ b/pkg/analysis_server/lib/src/utilities/extensions/numeric.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + extension DoubleExtensions on double { /// Return `true` if this value is between the [lower] and [upper] bound, /// inclusive. diff --git a/pkg/analysis_server/lib/src/utilities/extensions/yaml.dart b/pkg/analysis_server/lib/src/utilities/extensions/yaml.dart index 1199a2f304f..d3bf1325b56 100644 --- a/pkg/analysis_server/lib/src/utilities/extensions/yaml.dart +++ b/pkg/analysis_server/lib/src/utilities/extensions/yaml.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:yaml/yaml.dart'; extension YamlNodeExtensions on YamlNode { diff --git a/pkg/analysis_server/lib/src/utilities/file_string_sink.dart b/pkg/analysis_server/lib/src/utilities/file_string_sink.dart index 9486dfaea9a..a81ef8f2216 100644 --- a/pkg/analysis_server/lib/src/utilities/file_string_sink.dart +++ b/pkg/analysis_server/lib/src/utilities/file_string_sink.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; /// A string sink that write into a file. diff --git a/pkg/analysis_server/lib/src/utilities/flutter.dart b/pkg/analysis_server/lib/src/utilities/flutter.dart index 9243a1896f3..11c4fdd60cf 100644 --- a/pkg/analysis_server/lib/src/utilities/flutter.dart +++ b/pkg/analysis_server/lib/src/utilities/flutter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/utilities/strings.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/lib/src/utilities/mocks.dart b/pkg/analysis_server/lib/src/utilities/mocks.dart index 9775feedad7..6c4134a235d 100644 --- a/pkg/analysis_server/lib/src/utilities/mocks.dart +++ b/pkg/analysis_server/lib/src/utilities/mocks.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/lib/src/utilities/null_string_sink.dart b/pkg/analysis_server/lib/src/utilities/null_string_sink.dart index 3f6b29ee3b3..9fb109c8d2a 100644 --- a/pkg/analysis_server/lib/src/utilities/null_string_sink.dart +++ b/pkg/analysis_server/lib/src/utilities/null_string_sink.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A string sink that ignores everything written to it. class NullStringSink implements StringSink { @override diff --git a/pkg/analysis_server/lib/src/utilities/profiling.dart b/pkg/analysis_server/lib/src/utilities/profiling.dart index 1d1831373a7..b426b394ed5 100644 --- a/pkg/analysis_server/lib/src/utilities/profiling.dart +++ b/pkg/analysis_server/lib/src/utilities/profiling.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; /// A class that can return memory and cpu usage information for a given diff --git a/pkg/analysis_server/lib/src/utilities/request_statistics.dart b/pkg/analysis_server/lib/src/utilities/request_statistics.dart index 828dd36e220..044be840501 100644 --- a/pkg/analysis_server/lib/src/utilities/request_statistics.dart +++ b/pkg/analysis_server/lib/src/utilities/request_statistics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/lib/src/utilities/strings.dart b/pkg/analysis_server/lib/src/utilities/strings.dart index 42155b96c4b..d323ee891b9 100644 --- a/pkg/analysis_server/lib/src/utilities/strings.dart +++ b/pkg/analysis_server/lib/src/utilities/strings.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math'; import 'package:analyzer_plugin/src/utilities/string_utilities.dart'; diff --git a/pkg/analysis_server/lib/src/utilities/tee_string_sink.dart b/pkg/analysis_server/lib/src/utilities/tee_string_sink.dart index 978c4ed1678..bb3be939918 100644 --- a/pkg/analysis_server/lib/src/utilities/tee_string_sink.dart +++ b/pkg/analysis_server/lib/src/utilities/tee_string_sink.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A [StringSink] that writes into two other [StringSink]s. class TeeStringSink implements StringSink { final StringSink sink1; diff --git a/pkg/analysis_server/lib/src/utilities/yaml_node_locator.dart b/pkg/analysis_server/lib/src/utilities/yaml_node_locator.dart index 809748f4481..b34ef9c7809 100644 --- a/pkg/analysis_server/lib/src/utilities/yaml_node_locator.dart +++ b/pkg/analysis_server/lib/src/utilities/yaml_node_locator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:meta/meta.dart'; import 'package:yaml/yaml.dart'; diff --git a/pkg/analysis_server/lib/starter.dart b/pkg/analysis_server/lib/starter.dart index 78fb7736f3a..a8d4451ddc9 100644 --- a/pkg/analysis_server/lib/starter.dart +++ b/pkg/analysis_server/lib/starter.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:isolate'; import 'package:analysis_server/src/server/crash_reporting_attachments.dart'; diff --git a/pkg/analysis_server/pubspec.yaml b/pkg/analysis_server/pubspec.yaml index c968f5b479f..5629eb1d99d 100644 --- a/pkg/analysis_server/pubspec.yaml +++ b/pkg/analysis_server/pubspec.yaml @@ -3,7 +3,7 @@ name: analysis_server publish_to: none environment: - sdk: '>=2.6.0 <3.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: _fe_analyzer_shared: diff --git a/pkg/analysis_server/test/abstract_context.dart b/pkg/analysis_server/test/abstract_context.dart index 6e069d08a75..a5ac7d5b586 100644 --- a/pkg/analysis_server/test/abstract_context.dart +++ b/pkg/analysis_server/test/abstract_context.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/analysis/analysis_context.dart'; import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/dart/analysis/session.dart'; diff --git a/pkg/analysis_server/test/abstract_single_unit.dart b/pkg/analysis_server/test/abstract_single_unit.dart index 1a0450229e6..96e5da9ed08 100644 --- a/pkg/analysis_server/test/abstract_single_unit.dart +++ b/pkg/analysis_server/test/abstract_single_unit.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart index 57079259872..145a3a58a97 100644 --- a/pkg/analysis_server/test/analysis/get_errors_test.dart +++ b/pkg/analysis_server/test/analysis/get_errors_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/domain_analysis.dart'; diff --git a/pkg/analysis_server/test/analysis/get_hover_test.dart b/pkg/analysis_server/test/analysis/get_hover_test.dart index d1133a8afc1..fb78fb58e21 100644 --- a/pkg/analysis_server/test/analysis/get_hover_test.dart +++ b/pkg/analysis_server/test/analysis/get_hover_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:meta/meta.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/analysis/get_navigation_test.dart b/pkg/analysis_server/test/analysis/get_navigation_test.dart index 9e2b5d6f09d..99943b95244 100644 --- a/pkg/analysis_server/test/analysis/get_navigation_test.dart +++ b/pkg/analysis_server/test/analysis/get_navigation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/domain_analysis.dart'; diff --git a/pkg/analysis_server/test/analysis/get_signature_test.dart b/pkg/analysis_server/test/analysis/get_signature_test.dart index 3eb51ae3b74..5d4e202ee9a 100644 --- a/pkg/analysis_server/test/analysis/get_signature_test.dart +++ b/pkg/analysis_server/test/analysis/get_signature_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart b/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart index d9b3a95ee73..55924d9e3dc 100644 --- a/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart +++ b/pkg/analysis_server/test/analysis/notification_analysis_options_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart' diff --git a/pkg/analysis_server/test/analysis/notification_analyzed_files_test.dart b/pkg/analysis_server/test/analysis/notification_analyzed_files_test.dart index c574991da22..9561c954730 100644 --- a/pkg/analysis_server/test/analysis/notification_analyzed_files_test.dart +++ b/pkg/analysis_server/test/analysis/notification_analyzed_files_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_closing_labels_test.dart b/pkg/analysis_server/test/analysis/notification_closing_labels_test.dart index e3873d3d208..da4b9256cf9 100644 --- a/pkg/analysis_server/test/analysis/notification_closing_labels_test.dart +++ b/pkg/analysis_server/test/analysis/notification_closing_labels_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_errors_test.dart b/pkg/analysis_server/test/analysis/notification_errors_test.dart index 4bbe367e2f5..04dba84f1b5 100644 --- a/pkg/analysis_server/test/analysis/notification_errors_test.dart +++ b/pkg/analysis_server/test/analysis/notification_errors_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_folding_test.dart b/pkg/analysis_server/test/analysis/notification_folding_test.dart index 09a78a572c6..d00446f20c1 100644 --- a/pkg/analysis_server/test/analysis/notification_folding_test.dart +++ b/pkg/analysis_server/test/analysis/notification_folding_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol_constants.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_highlights2_test.dart b/pkg/analysis_server/test/analysis/notification_highlights2_test.dart index 92777a16353..8650731d2dc 100644 --- a/pkg/analysis_server/test/analysis/notification_highlights2_test.dart +++ b/pkg/analysis_server/test/analysis/notification_highlights2_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_implemented_test.dart b/pkg/analysis_server/test/analysis/notification_implemented_test.dart index 43a5a2447d1..cc1b1c84fac 100644 --- a/pkg/analysis_server/test/analysis/notification_implemented_test.dart +++ b/pkg/analysis_server/test/analysis/notification_implemented_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_navigation_test.dart b/pkg/analysis_server/test/analysis/notification_navigation_test.dart index 8f42b24c3c0..8e52073c29a 100644 --- a/pkg/analysis_server/test/analysis/notification_navigation_test.dart +++ b/pkg/analysis_server/test/analysis/notification_navigation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_occurrences_test.dart b/pkg/analysis_server/test/analysis/notification_occurrences_test.dart index 31fe5251802..bf46653e133 100644 --- a/pkg/analysis_server/test/analysis/notification_occurrences_test.dart +++ b/pkg/analysis_server/test/analysis/notification_occurrences_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_outline_test.dart b/pkg/analysis_server/test/analysis/notification_outline_test.dart index d43aeb231ce..f372764e4ff 100644 --- a/pkg/analysis_server/test/analysis/notification_outline_test.dart +++ b/pkg/analysis_server/test/analysis/notification_outline_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/analysis/notification_overrides_test.dart b/pkg/analysis_server/test/analysis/notification_overrides_test.dart index 8ac4dd2718f..14f5294ce9f 100644 --- a/pkg/analysis_server/test/analysis/notification_overrides_test.dart +++ b/pkg/analysis_server/test/analysis/notification_overrides_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/analysis/reanalyze_test.dart b/pkg/analysis_server/test/analysis/reanalyze_test.dart index 358df55374a..934e6cc8490 100644 --- a/pkg/analysis_server/test/analysis/reanalyze_test.dart +++ b/pkg/analysis_server/test/analysis/reanalyze_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/analysis/set_priority_files_test.dart b/pkg/analysis_server/test/analysis/set_priority_files_test.dart index 46d189d380b..85541893a96 100644 --- a/pkg/analysis_server/test/analysis/set_priority_files_test.dart +++ b/pkg/analysis_server/test/analysis/set_priority_files_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/domain_analysis.dart'; diff --git a/pkg/analysis_server/test/analysis/test_all.dart b/pkg/analysis_server/test/analysis/test_all.dart index 11870654127..8954813f4e9 100644 --- a/pkg/analysis_server/test/analysis/test_all.dart +++ b/pkg/analysis_server/test/analysis/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'get_errors_test.dart' as get_errors; diff --git a/pkg/analysis_server/test/analysis/update_content_test.dart b/pkg/analysis_server/test/analysis/update_content_test.dart index b817956e43f..9051b35570c 100644 --- a/pkg/analysis_server/test/analysis/update_content_test.dart +++ b/pkg/analysis_server/test/analysis/update_content_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/analysis_abstract.dart b/pkg/analysis_server/test/analysis_abstract.dart index 08ac90ad338..f2f5cf818f1 100644 --- a/pkg/analysis_server/test/analysis_abstract.dart +++ b/pkg/analysis_server/test/analysis_abstract.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart' diff --git a/pkg/analysis_server/test/analysis_server_test.dart b/pkg/analysis_server/test/analysis_server_test.dart index f99570b47ab..50d0459791b 100644 --- a/pkg/analysis_server/test/analysis_server_test.dart +++ b/pkg/analysis_server/test/analysis_server_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/channel/byte_stream_channel_test.dart b/pkg/analysis_server/test/channel/byte_stream_channel_test.dart index 717b50b3575..5d80b9b8a39 100644 --- a/pkg/analysis_server/test/channel/byte_stream_channel_test.dart +++ b/pkg/analysis_server/test/channel/byte_stream_channel_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/test/channel/test_all.dart b/pkg/analysis_server/test/channel/test_all.dart index b712e0096f1..689c931fcb8 100644 --- a/pkg/analysis_server/test/channel/test_all.dart +++ b/pkg/analysis_server/test/channel/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'byte_stream_channel_test.dart' as byte_stream_channel_test; diff --git a/pkg/analysis_server/test/client/completion_driver_test.dart b/pkg/analysis_server/test/client/completion_driver_test.dart index ace6ad340cd..4d6ee60975b 100644 --- a/pkg/analysis_server/test/client/completion_driver_test.dart +++ b/pkg/analysis_server/test/client/completion_driver_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/services/completion/dart/utilities.dart'; import 'package:analyzer/src/test_utilities/resource_provider_mixin.dart'; diff --git a/pkg/analysis_server/test/client/impl/abstract_client.dart b/pkg/analysis_server/test/client/impl/abstract_client.dart index a8613f8ba04..44e67e3cafd 100644 --- a/pkg/analysis_server/test/client/impl/abstract_client.dart +++ b/pkg/analysis_server/test/client/impl/abstract_client.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart' hide AnalysisOptions; diff --git a/pkg/analysis_server/test/client/impl/completion_driver.dart b/pkg/analysis_server/test/client/impl/completion_driver.dart index 3eabfb69d01..a4569aa6b53 100644 --- a/pkg/analysis_server/test/client/impl/completion_driver.dart +++ b/pkg/analysis_server/test/client/impl/completion_driver.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:math' as math; diff --git a/pkg/analysis_server/test/client/impl/expect_mixin.dart b/pkg/analysis_server/test/client/impl/expect_mixin.dart index 803a6858ced..7f8444ed0a5 100644 --- a/pkg/analysis_server/test/client/impl/expect_mixin.dart +++ b/pkg/analysis_server/test/client/impl/expect_mixin.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:matcher/matcher.dart'; typedef _Predicate = bool Function(T value); diff --git a/pkg/analysis_server/test/client/test_all.dart b/pkg/analysis_server/test/client/test_all.dart index 417c4d3bf92..7887a9d9f2c 100644 --- a/pkg/analysis_server/test/client/test_all.dart +++ b/pkg/analysis_server/test/client/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion_driver_test.dart' as completion_driver; diff --git a/pkg/analysis_server/test/completion_test.dart b/pkg/analysis_server/test/completion_test.dart index 6a3b7d33916..4cefdef0f0e 100644 --- a/pkg/analysis_server/test/completion_test.dart +++ b/pkg/analysis_server/test/completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/completion_test_support.dart b/pkg/analysis_server/test/completion_test_support.dart index 191aad3d509..83a70c884af 100644 --- a/pkg/analysis_server/test/completion_test_support.dart +++ b/pkg/analysis_server/test/completion_test_support.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/constants.dart b/pkg/analysis_server/test/constants.dart index 8c6d8488d6e..274bdb57686 100644 --- a/pkg/analysis_server/test/constants.dart +++ b/pkg/analysis_server/test/constants.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + const String CODE = 'code'; const String COMPLETION_RESULTS = 'completion.results'; const String CONTEXT_MESSAGES = 'contextMessages'; diff --git a/pkg/analysis_server/test/domain_analysis_test.dart b/pkg/analysis_server/test/domain_analysis_test.dart index 2138863fcef..b05effd6b75 100644 --- a/pkg/analysis_server/test/domain_analysis_test.dart +++ b/pkg/analysis_server/test/domain_analysis_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/domain_completion_test.dart b/pkg/analysis_server/test/domain_completion_test.dart index bfb2c730f09..e31fc32cbd7 100644 --- a/pkg/analysis_server/test/domain_completion_test.dart +++ b/pkg/analysis_server/test/domain_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/plugin/plugin_manager.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/test/domain_completion_util.dart b/pkg/analysis_server/test/domain_completion_util.dart index 6d93dcf7dea..1d2720ab0a6 100644 --- a/pkg/analysis_server/test/domain_completion_util.dart +++ b/pkg/analysis_server/test/domain_completion_util.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/domain_diagnostic_test.dart b/pkg/analysis_server/test/domain_diagnostic_test.dart index f6a615c4bf7..4f6860e21ef 100644 --- a/pkg/analysis_server/test/domain_diagnostic_test.dart +++ b/pkg/analysis_server/test/domain_diagnostic_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/domain_diagnostic.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/domain_edit_dartfix_test.dart b/pkg/analysis_server/test/domain_edit_dartfix_test.dart index 0d639ac1ed7..a3b114c6a43 100644 --- a/pkg/analysis_server/test/domain_edit_dartfix_test.dart +++ b/pkg/analysis_server/test/domain_edit_dartfix_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_dartfix.dart'; diff --git a/pkg/analysis_server/test/domain_execution_test.dart b/pkg/analysis_server/test/domain_execution_test.dart index b7b387ce17f..ad5fb973841 100644 --- a/pkg/analysis_server/test/domain_execution_test.dart +++ b/pkg/analysis_server/test/domain_execution_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/domain_execution.dart'; diff --git a/pkg/analysis_server/test/domain_server_test.dart b/pkg/analysis_server/test/domain_server_test.dart index 1ac94ccc496..9af7c95cfa0 100644 --- a/pkg/analysis_server/test/domain_server_test.dart +++ b/pkg/analysis_server/test/domain_server_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/edit/assists_test.dart b/pkg/analysis_server/test/edit/assists_test.dart index 3ab55f323b9..93a35f0b0df 100644 --- a/pkg/analysis_server/test/edit/assists_test.dart +++ b/pkg/analysis_server/test/edit/assists_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; import 'package:analysis_server/src/plugin/plugin_manager.dart'; diff --git a/pkg/analysis_server/test/edit/bulk_fixes_test.dart b/pkg/analysis_server/test/edit/bulk_fixes_test.dart index 1c9b46b3ab9..5d8899029b5 100644 --- a/pkg/analysis_server/test/edit/bulk_fixes_test.dart +++ b/pkg/analysis_server/test/edit/bulk_fixes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/edit/fixes_test.dart b/pkg/analysis_server/test/edit/fixes_test.dart index db742d8cc84..d0373097cee 100644 --- a/pkg/analysis_server/test/edit/fixes_test.dart +++ b/pkg/analysis_server/test/edit/fixes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; import 'package:analysis_server/src/plugin/plugin_manager.dart'; diff --git a/pkg/analysis_server/test/edit/format_test.dart b/pkg/analysis_server/test/edit/format_test.dart index ac5b566d542..bcab9d14003 100644 --- a/pkg/analysis_server/test/edit/format_test.dart +++ b/pkg/analysis_server/test/edit/format_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/edit/organize_directives_test.dart b/pkg/analysis_server/test/edit/organize_directives_test.dart index 4a775db7880..e81ca0e225a 100644 --- a/pkg/analysis_server/test/edit/organize_directives_test.dart +++ b/pkg/analysis_server/test/edit/organize_directives_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/edit/postfix_completion_test.dart b/pkg/analysis_server/test/edit/postfix_completion_test.dart index 9f55b0f46dc..7cbe83fe451 100644 --- a/pkg/analysis_server/test/edit/postfix_completion_test.dart +++ b/pkg/analysis_server/test/edit/postfix_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; diff --git a/pkg/analysis_server/test/edit/refactoring_test.dart b/pkg/analysis_server/test/edit/refactoring_test.dart index 015b081a20d..24d8e024750 100644 --- a/pkg/analysis_server/test/edit/refactoring_test.dart +++ b/pkg/analysis_server/test/edit/refactoring_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; diff --git a/pkg/analysis_server/test/edit/sort_members_test.dart b/pkg/analysis_server/test/edit/sort_members_test.dart index bd226a213e9..083b834fe28 100644 --- a/pkg/analysis_server/test/edit/sort_members_test.dart +++ b/pkg/analysis_server/test/edit/sort_members_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/edit/statement_completion_test.dart b/pkg/analysis_server/test/edit/statement_completion_test.dart index db31cacfeef..c442c9cc524 100644 --- a/pkg/analysis_server/test/edit/statement_completion_test.dart +++ b/pkg/analysis_server/test/edit/statement_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/edit/edit_domain.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/edit/test_all.dart b/pkg/analysis_server/test/edit/test_all.dart index 21cf0bc3322..e1d5aec2399 100644 --- a/pkg/analysis_server/test/edit/test_all.dart +++ b/pkg/analysis_server/test/edit/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'assists_test.dart' as assists; diff --git a/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart b/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart index 0324041f008..d0afbc39f83 100644 --- a/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart +++ b/pkg/analysis_server/test/integration/analysis/analysis_options_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/src/util/file_paths.dart' as file_paths; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/error_test.dart b/pkg/analysis_server/test/integration/analysis/error_test.dart index 9d503a2f020..b5d5fb75f91 100644 --- a/pkg/analysis_server/test/integration/analysis/error_test.dart +++ b/pkg/analysis_server/test/integration/analysis/error_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/get_errors_non_standard_sdk_test.dart b/pkg/analysis_server/test/integration/analysis/get_errors_non_standard_sdk_test.dart index e80f671156e..1b0de2ddb50 100644 --- a/pkg/analysis_server/test/integration/analysis/get_errors_non_standard_sdk_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_errors_non_standard_sdk_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:path/path.dart' as path; diff --git a/pkg/analysis_server/test/integration/analysis/get_errors_test.dart b/pkg/analysis_server/test/integration/analysis/get_errors_test.dart index 260cb6cb827..61d8b524804 100644 --- a/pkg/analysis_server/test/integration/analysis/get_errors_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_errors_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart index 385d9233bd3..6da5c927494 100644 --- a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:path/path.dart' as path; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/get_imported_elements_test.dart b/pkg/analysis_server/test/integration/analysis/get_imported_elements_test.dart index 436da25574e..6aac49a9a1b 100644 --- a/pkg/analysis_server/test/integration/analysis/get_imported_elements_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_imported_elements_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/domain_analysis.dart'; import 'package:path/path.dart' as path; diff --git a/pkg/analysis_server/test/integration/analysis/get_library_dependencies_test.dart b/pkg/analysis_server/test/integration/analysis/get_library_dependencies_test.dart index 568b151b899..ff3fd0f2b03 100644 --- a/pkg/analysis_server/test/integration/analysis/get_library_dependencies_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_library_dependencies_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/get_navigation_test.dart b/pkg/analysis_server/test/integration/analysis/get_navigation_test.dart index 1288adb4893..fc0a57b380f 100644 --- a/pkg/analysis_server/test/integration/analysis/get_navigation_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_navigation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/get_reachable_sources_test.dart b/pkg/analysis_server/test/integration/analysis/get_reachable_sources_test.dart index 0073bde23d2..15309a66bc5 100644 --- a/pkg/analysis_server/test/integration/analysis/get_reachable_sources_test.dart +++ b/pkg/analysis_server/test/integration/analysis/get_reachable_sources_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/highlights_test.dart b/pkg/analysis_server/test/integration/analysis/highlights_test.dart index 9dfcaf7439f..c4c8fe213df 100644 --- a/pkg/analysis_server/test/integration/analysis/highlights_test.dart +++ b/pkg/analysis_server/test/integration/analysis/highlights_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/hint_sdk_version_async_exported_from_core_test.dart b/pkg/analysis_server/test/integration/analysis/hint_sdk_version_async_exported_from_core_test.dart index 38428ff5286..5398abf28da 100644 --- a/pkg/analysis_server/test/integration/analysis/hint_sdk_version_async_exported_from_core_test.dart +++ b/pkg/analysis_server/test/integration/analysis/hint_sdk_version_async_exported_from_core_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/lint_test.dart b/pkg/analysis_server/test/integration/analysis/lint_test.dart index ffc3d8b5b41..5b11ea06fb7 100644 --- a/pkg/analysis_server/test/integration/analysis/lint_test.dart +++ b/pkg/analysis_server/test/integration/analysis/lint_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/src/util/file_paths.dart' as file_paths; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/navigation_test.dart b/pkg/analysis_server/test/integration/analysis/navigation_test.dart index b913d75fc72..763097e2548 100644 --- a/pkg/analysis_server/test/integration/analysis/navigation_test.dart +++ b/pkg/analysis_server/test/integration/analysis/navigation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart index 112445a00e4..0332e236643 100644 --- a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart +++ b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/outline_test.dart b/pkg/analysis_server/test/integration/analysis/outline_test.dart index 7271ce69caf..bc498f8563e 100644 --- a/pkg/analysis_server/test/integration/analysis/outline_test.dart +++ b/pkg/analysis_server/test/integration/analysis/outline_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/overrides_test.dart b/pkg/analysis_server/test/integration/analysis/overrides_test.dart index dc3167ff43e..912ac03bfd1 100644 --- a/pkg/analysis_server/test/integration/analysis/overrides_test.dart +++ b/pkg/analysis_server/test/integration/analysis/overrides_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/package_root_test.dart b/pkg/analysis_server/test/integration/analysis/package_root_test.dart index 3bb2096b09c..6c7801b9f1a 100644 --- a/pkg/analysis_server/test/integration/analysis/package_root_test.dart +++ b/pkg/analysis_server/test/integration/analysis/package_root_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:path/path.dart' as path; diff --git a/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart b/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart index 1a42362fcf7..7cf43714817 100644 --- a/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart +++ b/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// This test verifies that if reanalysis is performed while reanalysis is in /// progress, no problems occur. /// diff --git a/pkg/analysis_server/test/integration/analysis/reanalyze_test.dart b/pkg/analysis_server/test/integration/analysis/reanalyze_test.dart index 064d5785048..ddfd145ecdb 100644 --- a/pkg/analysis_server/test/integration/analysis/reanalyze_test.dart +++ b/pkg/analysis_server/test/integration/analysis/reanalyze_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/set_analysis_roots_test.dart b/pkg/analysis_server/test/integration/analysis/set_analysis_roots_test.dart index c8b991d7a7d..2ef9e06ab5e 100644 --- a/pkg/analysis_server/test/integration/analysis/set_analysis_roots_test.dart +++ b/pkg/analysis_server/test/integration/analysis/set_analysis_roots_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/set_general_subscriptions_test.dart b/pkg/analysis_server/test/integration/analysis/set_general_subscriptions_test.dart index 18cc92972fe..3523f2a92c9 100644 --- a/pkg/analysis_server/test/integration/analysis/set_general_subscriptions_test.dart +++ b/pkg/analysis_server/test/integration/analysis/set_general_subscriptions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:path/path.dart' show join; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/set_priority_files_test.dart b/pkg/analysis_server/test/integration/analysis/set_priority_files_test.dart index a7151cf645f..01898a7caa5 100644 --- a/pkg/analysis_server/test/integration/analysis/set_priority_files_test.dart +++ b/pkg/analysis_server/test/integration/analysis/set_priority_files_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/set_subscriptions_test.dart b/pkg/analysis_server/test/integration/analysis/set_subscriptions_test.dart index d9d22d0d1ef..bfb93657112 100644 --- a/pkg/analysis_server/test/integration/analysis/set_subscriptions_test.dart +++ b/pkg/analysis_server/test/integration/analysis/set_subscriptions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/test_all.dart b/pkg/analysis_server/test/integration/analysis/test_all.dart index 2e463f005dd..7bb5fd1ec95 100644 --- a/pkg/analysis_server/test/integration/analysis/test_all.dart +++ b/pkg/analysis_server/test/integration/analysis/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'analysis_options_test.dart' as analysis_options_test; diff --git a/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart b/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart index 40c015c09a1..adb66f3753f 100644 --- a/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart +++ b/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/update_content_test.dart b/pkg/analysis_server/test/integration/analysis/update_content_test.dart index 9ab0807b68d..5760287b4c7 100644 --- a/pkg/analysis_server/test/integration/analysis/update_content_test.dart +++ b/pkg/analysis_server/test/integration/analysis/update_content_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analysis/update_options_test.dart b/pkg/analysis_server/test/integration/analysis/update_options_test.dart index 4864f2c5814..cd18c904a60 100644 --- a/pkg/analysis_server/test/integration/analysis/update_options_test.dart +++ b/pkg/analysis_server/test/integration/analysis/update_options_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analytics/enable_test.dart b/pkg/analysis_server/test/integration/analytics/enable_test.dart index 780810eb844..0a7b44ad23b 100644 --- a/pkg/analysis_server/test/integration/analytics/enable_test.dart +++ b/pkg/analysis_server/test/integration/analytics/enable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analytics/is_enabled_test.dart b/pkg/analysis_server/test/integration/analytics/is_enabled_test.dart index 0f86bfed063..721a4954df4 100644 --- a/pkg/analysis_server/test/integration/analytics/is_enabled_test.dart +++ b/pkg/analysis_server/test/integration/analytics/is_enabled_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/analytics/send_event_test.dart b/pkg/analysis_server/test/integration/analytics/send_event_test.dart index 5f5aefe2f31..edf7c38e6ec 100644 --- a/pkg/analysis_server/test/integration/analytics/send_event_test.dart +++ b/pkg/analysis_server/test/integration/analytics/send_event_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../support/integration_tests.dart'; diff --git a/pkg/analysis_server/test/integration/analytics/send_timing_test.dart b/pkg/analysis_server/test/integration/analytics/send_timing_test.dart index 8e74028e83a..6154b53adec 100644 --- a/pkg/analysis_server/test/integration/analytics/send_timing_test.dart +++ b/pkg/analysis_server/test/integration/analytics/send_timing_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../support/integration_tests.dart'; diff --git a/pkg/analysis_server/test/integration/analytics/test_all.dart b/pkg/analysis_server/test/integration/analytics/test_all.dart index 4781bad838a..3699d0c0d02 100644 --- a/pkg/analysis_server/test/integration/analytics/test_all.dart +++ b/pkg/analysis_server/test/integration/analytics/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'enable_test.dart' as enable_test; diff --git a/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart b/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart index 1dd38a1cf46..8c982b5a066 100644 --- a/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart +++ b/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/completion/test_all.dart b/pkg/analysis_server/test/integration/completion/test_all.dart index 857202f9b01..54aa9879a4c 100644 --- a/pkg/analysis_server/test/integration/completion/test_all.dart +++ b/pkg/analysis_server/test/integration/completion/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'get_suggestions_test.dart' as get_suggestions; diff --git a/pkg/analysis_server/test/integration/coverage_test.dart b/pkg/analysis_server/test/integration/coverage_test.dart index 73caa7ad31a..db49f1838b6 100644 --- a/pkg/analysis_server/test/integration/coverage_test.dart +++ b/pkg/analysis_server/test/integration/coverage_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analyzer_plugin/src/utilities/string_utilities.dart'; diff --git a/pkg/analysis_server/test/integration/diagnostic/get_diagnostics_test.dart b/pkg/analysis_server/test/integration/diagnostic/get_diagnostics_test.dart index 84b84ae8de6..8b6fb64fca6 100644 --- a/pkg/analysis_server/test/integration/diagnostic/get_diagnostics_test.dart +++ b/pkg/analysis_server/test/integration/diagnostic/get_diagnostics_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/diagnostic/get_server_port_test.dart b/pkg/analysis_server/test/integration/diagnostic/get_server_port_test.dart index 42541e2d299..8efd67958be 100644 --- a/pkg/analysis_server/test/integration/diagnostic/get_server_port_test.dart +++ b/pkg/analysis_server/test/integration/diagnostic/get_server_port_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/test/integration/diagnostic/test_all.dart b/pkg/analysis_server/test/integration/diagnostic/test_all.dart index 50293e2a84f..0b760854cfa 100644 --- a/pkg/analysis_server/test/integration/diagnostic/test_all.dart +++ b/pkg/analysis_server/test/integration/diagnostic/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'get_diagnostics_test.dart' as get_diagnostics_test; diff --git a/pkg/analysis_server/test/integration/edit/bulk_fixes_test.dart b/pkg/analysis_server/test/integration/edit/bulk_fixes_test.dart index 4c4d82d11c9..0a9f57424b9 100644 --- a/pkg/analysis_server/test/integration/edit/bulk_fixes_test.dart +++ b/pkg/analysis_server/test/integration/edit/bulk_fixes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/src/util/file_paths.dart' as file_paths; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/dartfix_test.dart b/pkg/analysis_server/test/integration/edit/dartfix_test.dart index 70299734dbd..1422a4cd0ea 100644 --- a/pkg/analysis_server/test/integration/edit/dartfix_test.dart +++ b/pkg/analysis_server/test/integration/edit/dartfix_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/format_test.dart b/pkg/analysis_server/test/integration/edit/format_test.dart index 081d9fc3370..25975e3b791 100644 --- a/pkg/analysis_server/test/integration/edit/format_test.dart +++ b/pkg/analysis_server/test/integration/edit/format_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_assists_test.dart b/pkg/analysis_server/test/integration/edit/get_assists_test.dart index 015a3858351..de4bb7905d7 100644 --- a/pkg/analysis_server/test/integration/edit/get_assists_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_assists_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_available_refactorings_test.dart b/pkg/analysis_server/test/integration/edit/get_available_refactorings_test.dart index 79b7389cd93..08d327571db 100644 --- a/pkg/analysis_server/test/integration/edit/get_available_refactorings_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_available_refactorings_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_dartfix_info_test.dart b/pkg/analysis_server/test/integration/edit/get_dartfix_info_test.dart index 3d3bf9f6797..a924cc36109 100644 --- a/pkg/analysis_server/test/integration/edit/get_dartfix_info_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_dartfix_info_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_fixes_test.dart b/pkg/analysis_server/test/integration/edit/get_fixes_test.dart index 6610ea29ae6..f6ef4e920b1 100644 --- a/pkg/analysis_server/test/integration/edit/get_fixes_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_fixes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_postfix_completion_test.dart b/pkg/analysis_server/test/integration/edit/get_postfix_completion_test.dart index db032ec8a11..356a4e6573a 100644 --- a/pkg/analysis_server/test/integration/edit/get_postfix_completion_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_postfix_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_refactoring_test.dart b/pkg/analysis_server/test/integration/edit/get_refactoring_test.dart index 81b5e22d006..a96db437991 100644 --- a/pkg/analysis_server/test/integration/edit/get_refactoring_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_refactoring_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/edit/get_statement_completion_test.dart b/pkg/analysis_server/test/integration/edit/get_statement_completion_test.dart index 5c3ce3e5845..9f4465f25b1 100644 --- a/pkg/analysis_server/test/integration/edit/get_statement_completion_test.dart +++ b/pkg/analysis_server/test/integration/edit/get_statement_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/import_elements_test.dart b/pkg/analysis_server/test/integration/edit/import_elements_test.dart index 06ab05f363f..f55d0ac3da7 100644 --- a/pkg/analysis_server/test/integration/edit/import_elements_test.dart +++ b/pkg/analysis_server/test/integration/edit/import_elements_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer/file_system/physical_file_system.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/integration/edit/is_postfix_completion_applicable_test.dart b/pkg/analysis_server/test/integration/edit/is_postfix_completion_applicable_test.dart index af423d17d59..5a4620b50e3 100644 --- a/pkg/analysis_server/test/integration/edit/is_postfix_completion_applicable_test.dart +++ b/pkg/analysis_server/test/integration/edit/is_postfix_completion_applicable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/list_postfix_completion_templates_test.dart b/pkg/analysis_server/test/integration/edit/list_postfix_completion_templates_test.dart index 21f950de8a0..1af3946d31f 100644 --- a/pkg/analysis_server/test/integration/edit/list_postfix_completion_templates_test.dart +++ b/pkg/analysis_server/test/integration/edit/list_postfix_completion_templates_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/organize_directives_test.dart b/pkg/analysis_server/test/integration/edit/organize_directives_test.dart index 2bf4c1fb13c..c43c5eea9b7 100644 --- a/pkg/analysis_server/test/integration/edit/organize_directives_test.dart +++ b/pkg/analysis_server/test/integration/edit/organize_directives_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/sort_members_test.dart b/pkg/analysis_server/test/integration/edit/sort_members_test.dart index a49aca3935c..bba0bc64ce8 100644 --- a/pkg/analysis_server/test/integration/edit/sort_members_test.dart +++ b/pkg/analysis_server/test/integration/edit/sort_members_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/edit/test_all.dart b/pkg/analysis_server/test/integration/edit/test_all.dart index 5c3a6534d86..e61e3b79604 100644 --- a/pkg/analysis_server/test/integration/edit/test_all.dart +++ b/pkg/analysis_server/test/integration/edit/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'bulk_fixes_test.dart' as bulk_fixes_test; diff --git a/pkg/analysis_server/test/integration/execution/create_context_test.dart b/pkg/analysis_server/test/integration/execution/create_context_test.dart index 563e405780f..3a938cd68ee 100644 --- a/pkg/analysis_server/test/integration/execution/create_context_test.dart +++ b/pkg/analysis_server/test/integration/execution/create_context_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/execution/delete_context_test.dart b/pkg/analysis_server/test/integration/execution/delete_context_test.dart index 4087c06dd17..0e84d3ed5dd 100644 --- a/pkg/analysis_server/test/integration/execution/delete_context_test.dart +++ b/pkg/analysis_server/test/integration/execution/delete_context_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/execution/map_uri_test.dart b/pkg/analysis_server/test/integration/execution/map_uri_test.dart index 98f9e7ef425..1efe5001360 100644 --- a/pkg/analysis_server/test/integration/execution/map_uri_test.dart +++ b/pkg/analysis_server/test/integration/execution/map_uri_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/execution/set_subscriptions_test.dart b/pkg/analysis_server/test/integration/execution/set_subscriptions_test.dart index 340ded405ea..3e328f2c1ca 100644 --- a/pkg/analysis_server/test/integration/execution/set_subscriptions_test.dart +++ b/pkg/analysis_server/test/integration/execution/set_subscriptions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/execution/test_all.dart b/pkg/analysis_server/test/integration/execution/test_all.dart index 76aa11d5891..9214e0df38d 100644 --- a/pkg/analysis_server/test/integration/execution/test_all.dart +++ b/pkg/analysis_server/test/integration/execution/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'create_context_test.dart' as create_context_test; diff --git a/pkg/analysis_server/test/integration/kythe/get_kythe_entries_test.dart b/pkg/analysis_server/test/integration/kythe/get_kythe_entries_test.dart index 00719b338d9..a4a3a5fcb5d 100644 --- a/pkg/analysis_server/test/integration/kythe/get_kythe_entries_test.dart +++ b/pkg/analysis_server/test/integration/kythe/get_kythe_entries_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/kythe/test_all.dart b/pkg/analysis_server/test/integration/kythe/test_all.dart index c50b940d801..f63a340e3d8 100644 --- a/pkg/analysis_server/test/integration/kythe/test_all.dart +++ b/pkg/analysis_server/test/integration/kythe/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'get_kythe_entries_test.dart' as get_kythe_entries_test; diff --git a/pkg/analysis_server/test/integration/linter/lint_names_test.dart b/pkg/analysis_server/test/integration/linter/lint_names_test.dart index f36937a4fb7..cc57c3d9ce7 100644 --- a/pkg/analysis_server/test/integration/linter/lint_names_test.dart +++ b/pkg/analysis_server/test/integration/linter/lint_names_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/test/integration/linter/test_all.dart b/pkg/analysis_server/test/integration/linter/test_all.dart index addcf98dbc0..833b9ae8f1f 100644 --- a/pkg/analysis_server/test/integration/linter/test_all.dart +++ b/pkg/analysis_server/test/integration/linter/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'lint_names_test.dart' as lint_names; diff --git a/pkg/analysis_server/test/integration/lsp_server/analyzer_status_test.dart b/pkg/analysis_server/test/integration/lsp_server/analyzer_status_test.dart index 0184100c3ab..94f3328ada5 100644 --- a/pkg/analysis_server/test/integration/lsp_server/analyzer_status_test.dart +++ b/pkg/analysis_server/test/integration/lsp_server/analyzer_status_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/lsp_server/diagnostic_test.dart b/pkg/analysis_server/test/integration/lsp_server/diagnostic_test.dart index 0763cdac839..7f9a5275be8 100644 --- a/pkg/analysis_server/test/integration/lsp_server/diagnostic_test.dart +++ b/pkg/analysis_server/test/integration/lsp_server/diagnostic_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/lsp_server/initialization_test.dart b/pkg/analysis_server/test/integration/lsp_server/initialization_test.dart index 1759e58ab68..422086a70ae 100644 --- a/pkg/analysis_server/test/integration/lsp_server/initialization_test.dart +++ b/pkg/analysis_server/test/integration/lsp_server/initialization_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/lsp_server/integration_tests.dart b/pkg/analysis_server/test/integration/lsp_server/integration_tests.dart index bd8a64f4413..fa871ff6793 100644 --- a/pkg/analysis_server/test/integration/lsp_server/integration_tests.dart +++ b/pkg/analysis_server/test/integration/lsp_server/integration_tests.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; diff --git a/pkg/analysis_server/test/integration/lsp_server/server_test.dart b/pkg/analysis_server/test/integration/lsp_server/server_test.dart index 8ceb281d16f..27715640982 100644 --- a/pkg/analysis_server/test/integration/lsp_server/server_test.dart +++ b/pkg/analysis_server/test/integration/lsp_server/server_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/test/integration/lsp_server/test_all.dart b/pkg/analysis_server/test/integration/lsp_server/test_all.dart index 3c85a816232..2a5741e2502 100644 --- a/pkg/analysis_server/test/integration/lsp_server/test_all.dart +++ b/pkg/analysis_server/test/integration/lsp_server/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'analyzer_status_test.dart' as analyzer_status; diff --git a/pkg/analysis_server/test/integration/search/find_element_references_test.dart b/pkg/analysis_server/test/integration/search/find_element_references_test.dart index c0d758aca93..f74346ba841 100644 --- a/pkg/analysis_server/test/integration/search/find_element_references_test.dart +++ b/pkg/analysis_server/test/integration/search/find_element_references_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/search/find_member_declarations_test.dart b/pkg/analysis_server/test/integration/search/find_member_declarations_test.dart index 74fab07dd9f..71d4557e5fc 100644 --- a/pkg/analysis_server/test/integration/search/find_member_declarations_test.dart +++ b/pkg/analysis_server/test/integration/search/find_member_declarations_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/search/find_member_references_test.dart b/pkg/analysis_server/test/integration/search/find_member_references_test.dart index 249a3ba8452..209c1ecbbfc 100644 --- a/pkg/analysis_server/test/integration/search/find_member_references_test.dart +++ b/pkg/analysis_server/test/integration/search/find_member_references_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/search/find_top_level_declarations_test.dart b/pkg/analysis_server/test/integration/search/find_top_level_declarations_test.dart index 79d3eb8d537..8185e1a4f39 100644 --- a/pkg/analysis_server/test/integration/search/find_top_level_declarations_test.dart +++ b/pkg/analysis_server/test/integration/search/find_top_level_declarations_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart b/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart index 000321473ef..5c5c6d5c29b 100644 --- a/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart +++ b/pkg/analysis_server/test/integration/search/get_type_hierarchy_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/search/test_all.dart b/pkg/analysis_server/test/integration/search/test_all.dart index b39f4904588..e95e3f599f7 100644 --- a/pkg/analysis_server/test/integration/search/test_all.dart +++ b/pkg/analysis_server/test/integration/search/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'find_element_references_test.dart' as find_element_references_test; diff --git a/pkg/analysis_server/test/integration/server/bazel_changes_test.dart b/pkg/analysis_server/test/integration/server/bazel_changes_test.dart index eadac35dc44..9b64519714f 100644 --- a/pkg/analysis_server/test/integration/server/bazel_changes_test.dart +++ b/pkg/analysis_server/test/integration/server/bazel_changes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; diff --git a/pkg/analysis_server/test/integration/server/get_version_test.dart b/pkg/analysis_server/test/integration/server/get_version_test.dart index a82ea75c9d5..d1c3428a694 100644 --- a/pkg/analysis_server/test/integration/server/get_version_test.dart +++ b/pkg/analysis_server/test/integration/server/get_version_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../support/integration_tests.dart'; diff --git a/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart b/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart index afb31959de5..f25b46cba1d 100644 --- a/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart +++ b/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart b/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart index 9a7078b9869..2ea390e8205 100644 --- a/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart +++ b/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/integration/server/shutdown_test.dart b/pkg/analysis_server/test/integration/server/shutdown_test.dart index a14e5736aaa..cee3a556213 100644 --- a/pkg/analysis_server/test/integration/server/shutdown_test.dart +++ b/pkg/analysis_server/test/integration/server/shutdown_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/integration/server/status_test.dart b/pkg/analysis_server/test/integration/server/status_test.dart index 1fdf46b49c2..020b6b648c5 100644 --- a/pkg/analysis_server/test/integration/server/status_test.dart +++ b/pkg/analysis_server/test/integration/server/status_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/integration/server/test_all.dart b/pkg/analysis_server/test/integration/server/test_all.dart index 92ae2b143dc..cc55441b3e9 100644 --- a/pkg/analysis_server/test/integration/server/test_all.dart +++ b/pkg/analysis_server/test/integration/server/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'bazel_changes_test.dart' as bazel_changes_test; diff --git a/pkg/analysis_server/test/integration/support/integration_test_methods.dart b/pkg/analysis_server/test/integration/support/integration_test_methods.dart index b086276c4ec..5a1688c24cb 100644 --- a/pkg/analysis_server/test/integration/support/integration_test_methods.dart +++ b/pkg/analysis_server/test/integration/support/integration_test_methods.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + /// Convenience methods for running integration tests. import 'dart:async'; diff --git a/pkg/analysis_server/test/integration/support/integration_tests.dart b/pkg/analysis_server/test/integration/support/integration_tests.dart index 69a48044812..fa6d958f56a 100644 --- a/pkg/analysis_server/test/integration/support/integration_tests.dart +++ b/pkg/analysis_server/test/integration/support/integration_tests.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:collection'; import 'dart:convert'; diff --git a/pkg/analysis_server/test/integration/support/protocol_matchers.dart b/pkg/analysis_server/test/integration/support/protocol_matchers.dart index 4a8e453ac17..2d11af9d4ef 100644 --- a/pkg/analysis_server/test/integration/support/protocol_matchers.dart +++ b/pkg/analysis_server/test/integration/support/protocol_matchers.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + /// Matchers for data types defined in the analysis server API. import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/integration/test_all.dart b/pkg/analysis_server/test/integration/test_all.dart index 9ef661b80e0..5ed27bc1b4e 100644 --- a/pkg/analysis_server/test/integration/test_all.dart +++ b/pkg/analysis_server/test/integration/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'analysis/test_all.dart' as analysis; diff --git a/pkg/analysis_server/test/lsp/analyzer_status_test.dart b/pkg/analysis_server/test/lsp/analyzer_status_test.dart index 40cb5e4c22a..8d1492a6631 100644 --- a/pkg/analysis_server/test/lsp/analyzer_status_test.dart +++ b/pkg/analysis_server/test/lsp/analyzer_status_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/cancel_request_test.dart b/pkg/analysis_server/test/lsp/cancel_request_test.dart index f39dff94296..6780145edd7 100644 --- a/pkg/analysis_server/test/lsp/cancel_request_test.dart +++ b/pkg/analysis_server/test/lsp/cancel_request_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/change_workspace_folders_test.dart b/pkg/analysis_server/test/lsp/change_workspace_folders_test.dart index 414c52d3e4c..9bec4cadbf8 100644 --- a/pkg/analysis_server/test/lsp/change_workspace_folders_test.dart +++ b/pkg/analysis_server/test/lsp/change_workspace_folders_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/closing_labels_test.dart b/pkg/analysis_server/test/lsp/closing_labels_test.dart index 4a671a6c946..3a400e1bfd3 100644 --- a/pkg/analysis_server/test/lsp/closing_labels_test.dart +++ b/pkg/analysis_server/test/lsp/closing_labels_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/code_actions_abstract.dart b/pkg/analysis_server/test/lsp/code_actions_abstract.dart index 67d220b923d..ee4ca4dbcea 100644 --- a/pkg/analysis_server/test/lsp/code_actions_abstract.dart +++ b/pkg/analysis_server/test/lsp/code_actions_abstract.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/code_actions_assists_test.dart b/pkg/analysis_server/test/lsp/code_actions_assists_test.dart index b70a2c2a04a..69e627b861d 100644 --- a/pkg/analysis_server/test/lsp/code_actions_assists_test.dart +++ b/pkg/analysis_server/test/lsp/code_actions_assists_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_custom_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; diff --git a/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart b/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart index abc67e76764..8e6ba91dcd1 100644 --- a/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart +++ b/pkg/analysis_server/test/lsp/code_actions_fixes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:linter/src/rules.dart'; import 'package:path/path.dart' as path; diff --git a/pkg/analysis_server/test/lsp/code_actions_refactor_test.dart b/pkg/analysis_server/test/lsp/code_actions_refactor_test.dart index e6d10cc7af3..13012306b78 100644 --- a/pkg/analysis_server/test/lsp/code_actions_refactor_test.dart +++ b/pkg/analysis_server/test/lsp/code_actions_refactor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/lsp/code_actions_source_test.dart b/pkg/analysis_server/test/lsp/code_actions_source_test.dart index 9a75e7e8083..0d0ca6e8bc4 100644 --- a/pkg/analysis_server/test/lsp/code_actions_source_test.dart +++ b/pkg/analysis_server/test/lsp/code_actions_source_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/completion.dart b/pkg/analysis_server/test/lsp/completion.dart index f1f5b9a2035..2e1e1e21b00 100644 --- a/pkg/analysis_server/test/lsp/completion.dart +++ b/pkg/analysis_server/test/lsp/completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/completion_dart_test.dart b/pkg/analysis_server/test/lsp/completion_dart_test.dart index 4ad91702467..07e00edd695 100644 --- a/pkg/analysis_server/test/lsp/completion_dart_test.dart +++ b/pkg/analysis_server/test/lsp/completion_dart_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' as plugin; diff --git a/pkg/analysis_server/test/lsp/completion_yaml_test.dart b/pkg/analysis_server/test/lsp/completion_yaml_test.dart index 9a9da498fac..a00dce540f3 100644 --- a/pkg/analysis_server/test/lsp/completion_yaml_test.dart +++ b/pkg/analysis_server/test/lsp/completion_yaml_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/pub/pub_api.dart'; import 'package:http/http.dart'; import 'package:linter/src/rules.dart'; diff --git a/pkg/analysis_server/test/lsp/configuration_test.dart b/pkg/analysis_server/test/lsp/configuration_test.dart index 2c9165028b7..980af42f75b 100644 --- a/pkg/analysis_server/test/lsp/configuration_test.dart +++ b/pkg/analysis_server/test/lsp/configuration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/definition_test.dart b/pkg/analysis_server/test/lsp/definition_test.dart index d64412c6b0f..f78d0594d2a 100644 --- a/pkg/analysis_server/test/lsp/definition_test.dart +++ b/pkg/analysis_server/test/lsp/definition_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart' as lsp; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; diff --git a/pkg/analysis_server/test/lsp/diagnostic_test.dart b/pkg/analysis_server/test/lsp/diagnostic_test.dart index 741c410bac5..46ace8acd48 100644 --- a/pkg/analysis_server/test/lsp/diagnostic_test.dart +++ b/pkg/analysis_server/test/lsp/diagnostic_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analyzer/file_system/file_system.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' as plugin; diff --git a/pkg/analysis_server/test/lsp/document_changes_test.dart b/pkg/analysis_server/test/lsp/document_changes_test.dart index a674b754ab2..0c8f1813158 100644 --- a/pkg/analysis_server/test/lsp/document_changes_test.dart +++ b/pkg/analysis_server/test/lsp/document_changes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/lsp/document_highlights_test.dart b/pkg/analysis_server/test/lsp/document_highlights_test.dart index 68b147d3c05..1812f86fca6 100644 --- a/pkg/analysis_server/test/lsp/document_highlights_test.dart +++ b/pkg/analysis_server/test/lsp/document_highlights_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/document_symbols_test.dart b/pkg/analysis_server/test/lsp/document_symbols_test.dart index fa1e3e04d48..18837287f47 100644 --- a/pkg/analysis_server/test/lsp/document_symbols_test.dart +++ b/pkg/analysis_server/test/lsp/document_symbols_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/file_modification_test.dart b/pkg/analysis_server/test/lsp/file_modification_test.dart index 3c9dac54298..5f5e7471701 100644 --- a/pkg/analysis_server/test/lsp/file_modification_test.dart +++ b/pkg/analysis_server/test/lsp/file_modification_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/flutter_outline_test.dart b/pkg/analysis_server/test/lsp/flutter_outline_test.dart index 5ece2b695a4..60bb110cb97 100644 --- a/pkg/analysis_server/test/lsp/flutter_outline_test.dart +++ b/pkg/analysis_server/test/lsp/flutter_outline_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/folding_test.dart b/pkg/analysis_server/test/lsp/folding_test.dart index 8b4e389da0e..bea190d2abc 100644 --- a/pkg/analysis_server/test/lsp/folding_test.dart +++ b/pkg/analysis_server/test/lsp/folding_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' as plugin; import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; diff --git a/pkg/analysis_server/test/lsp/format_test.dart b/pkg/analysis_server/test/lsp/format_test.dart index e629a4d2594..ad5bb9cc8f6 100644 --- a/pkg/analysis_server/test/lsp/format_test.dart +++ b/pkg/analysis_server/test/lsp/format_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/hover_test.dart b/pkg/analysis_server/test/lsp/hover_test.dart index de40613341b..0be55c5ce64 100644 --- a/pkg/analysis_server/test/lsp/hover_test.dart +++ b/pkg/analysis_server/test/lsp/hover_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/implementation_test.dart b/pkg/analysis_server/test/lsp/implementation_test.dart index 195b46b36c6..63cc7f85733 100644 --- a/pkg/analysis_server/test/lsp/implementation_test.dart +++ b/pkg/analysis_server/test/lsp/implementation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/initialization_test.dart b/pkg/analysis_server/test/lsp/initialization_test.dart index f864ea67f12..032df8dca92 100644 --- a/pkg/analysis_server/test/lsp/initialization_test.dart +++ b/pkg/analysis_server/test/lsp/initialization_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:analysis_server/src/lsp/constants.dart'; diff --git a/pkg/analysis_server/test/lsp/mapping_test.dart b/pkg/analysis_server/test/lsp/mapping_test.dart index ce08941c5ed..6c89580bbbb 100644 --- a/pkg/analysis_server/test/lsp/mapping_test.dart +++ b/pkg/analysis_server/test/lsp/mapping_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart' as lsp; import 'package:analysis_server/src/lsp/mapping.dart' as lsp; import 'package:analysis_server/src/protocol_server.dart' as server; diff --git a/pkg/analysis_server/test/lsp/outline_test.dart b/pkg/analysis_server/test/lsp/outline_test.dart index 8ab0aa35ea5..1c04b0ce974 100644 --- a/pkg/analysis_server/test/lsp/outline_test.dart +++ b/pkg/analysis_server/test/lsp/outline_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/priority_files_test.dart b/pkg/analysis_server/test/lsp/priority_files_test.dart index 028f903f583..8d5107ca55e 100644 --- a/pkg/analysis_server/test/lsp/priority_files_test.dart +++ b/pkg/analysis_server/test/lsp/priority_files_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/pub_package_service_test.dart b/pkg/analysis_server/test/lsp/pub_package_service_test.dart index f76aaa92ad3..f40f50a3735 100644 --- a/pkg/analysis_server/test/lsp/pub_package_service_test.dart +++ b/pkg/analysis_server/test/lsp/pub_package_service_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/pub/pub_api.dart'; import 'package:analysis_server/src/services/pub/pub_package_service.dart'; import 'package:analyzer/instrumentation/service.dart'; diff --git a/pkg/analysis_server/test/lsp/reanalyze_test.dart b/pkg/analysis_server/test/lsp/reanalyze_test.dart index 69afce82501..150c8a0da27 100644 --- a/pkg/analysis_server/test/lsp/reanalyze_test.dart +++ b/pkg/analysis_server/test/lsp/reanalyze_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/references_test.dart b/pkg/analysis_server/test/lsp/references_test.dart index 350de592a82..9af7eef0d49 100644 --- a/pkg/analysis_server/test/lsp/references_test.dart +++ b/pkg/analysis_server/test/lsp/references_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/rename_test.dart b/pkg/analysis_server/test/lsp/rename_test.dart index 6c14e4810ad..a65a4efc4b2 100644 --- a/pkg/analysis_server/test/lsp/rename_test.dart +++ b/pkg/analysis_server/test/lsp/rename_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:meta/meta.dart'; diff --git a/pkg/analysis_server/test/lsp/semantic_tokens_test.dart b/pkg/analysis_server/test/lsp/semantic_tokens_test.dart index dfd43247148..b97795e1c15 100644 --- a/pkg/analysis_server/test/lsp/semantic_tokens_test.dart +++ b/pkg/analysis_server/test/lsp/semantic_tokens_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/src/lsp/constants.dart'; import 'package:analysis_server/src/lsp/semantic_tokens/legend.dart'; diff --git a/pkg/analysis_server/test/lsp/server_abstract.dart b/pkg/analysis_server/test/lsp/server_abstract.dart index dd35465d293..663687b1877 100644 --- a/pkg/analysis_server/test/lsp/server_abstract.dart +++ b/pkg/analysis_server/test/lsp/server_abstract.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_custom_generated.dart'; diff --git a/pkg/analysis_server/test/lsp/server_test.dart b/pkg/analysis_server/test/lsp/server_test.dart index 8b0bd5961fc..07858b3baca 100644 --- a/pkg/analysis_server/test/lsp/server_test.dart +++ b/pkg/analysis_server/test/lsp/server_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/lsp/signature_help_test.dart b/pkg/analysis_server/test/lsp/signature_help_test.dart index 9bee6e4c2f4..13432a97aa6 100644 --- a/pkg/analysis_server/test/lsp/signature_help_test.dart +++ b/pkg/analysis_server/test/lsp/signature_help_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/super_test.dart b/pkg/analysis_server/test/lsp/super_test.dart index b9192d92d38..29eec48b1ee 100644 --- a/pkg/analysis_server/test/lsp/super_test.dart +++ b/pkg/analysis_server/test/lsp/super_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/lsp/test_all.dart b/pkg/analysis_server/test/lsp/test_all.dart index dd27eb35322..49726961aeb 100644 --- a/pkg/analysis_server/test/lsp/test_all.dart +++ b/pkg/analysis_server/test/lsp/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../src/lsp/lsp_packet_transformer_test.dart' as lsp_packet_transformer; diff --git a/pkg/analysis_server/test/lsp/will_rename_files_test.dart b/pkg/analysis_server/test/lsp/will_rename_files_test.dart index e9b6feecd47..124671d47cb 100644 --- a/pkg/analysis_server/test/lsp/will_rename_files_test.dart +++ b/pkg/analysis_server/test/lsp/will_rename_files_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/lsp/workspace_symbols_test.dart b/pkg/analysis_server/test/lsp/workspace_symbols_test.dart index 4c53c4456cf..d20b42e7b62 100644 --- a/pkg/analysis_server/test/lsp/workspace_symbols_test.dart +++ b/pkg/analysis_server/test/lsp/workspace_symbols_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/mocks.dart b/pkg/analysis_server/test/mocks.dart index d8c9e0a4b3c..f0ca226246d 100644 --- a/pkg/analysis_server/test/mocks.dart +++ b/pkg/analysis_server/test/mocks.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:convert'; diff --git a/pkg/analysis_server/test/plugin/protocol_dart_test.dart b/pkg/analysis_server/test/plugin/protocol_dart_test.dart index 91ab49f3bd1..da9514dbcaa 100644 --- a/pkg/analysis_server/test/plugin/protocol_dart_test.dart +++ b/pkg/analysis_server/test/plugin/protocol_dart_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/protocol/protocol_dart.dart'; import 'package:analyzer/dart/element/element.dart' as engine; import 'package:analyzer/src/dart/element/element.dart' as engine; diff --git a/pkg/analysis_server/test/plugin/test_all.dart b/pkg/analysis_server/test/plugin/test_all.dart index 56ce70992aa..66ab7e39b66 100644 --- a/pkg/analysis_server/test/plugin/test_all.dart +++ b/pkg/analysis_server/test/plugin/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'protocol_dart_test.dart' as protocol_dart_test; diff --git a/pkg/analysis_server/test/protocol_server_test.dart b/pkg/analysis_server/test/protocol_server_test.dart index 4b290ce7722..65df4b580e0 100644 --- a/pkg/analysis_server/test/protocol_server_test.dart +++ b/pkg/analysis_server/test/protocol_server_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:mirrors'; import 'package:analysis_server/src/protocol_server.dart' diff --git a/pkg/analysis_server/test/protocol_test.dart b/pkg/analysis_server/test/protocol_test.dart index 7f534a2856e..e4edae04475 100644 --- a/pkg/analysis_server/test/protocol_test.dart +++ b/pkg/analysis_server/test/protocol_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/search/abstract_search_domain.dart b/pkg/analysis_server/test/search/abstract_search_domain.dart index 1e5b0d1a7e0..50021f6f510 100644 --- a/pkg/analysis_server/test/search/abstract_search_domain.dart +++ b/pkg/analysis_server/test/search/abstract_search_domain.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/search/declarations_test.dart b/pkg/analysis_server/test/search/declarations_test.dart index cb79730576e..349085db3e1 100644 --- a/pkg/analysis_server/test/search/declarations_test.dart +++ b/pkg/analysis_server/test/search/declarations_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/search/element_references_test.dart b/pkg/analysis_server/test/search/element_references_test.dart index 5b7d55805e1..fba332c9a33 100644 --- a/pkg/analysis_server/test/search/element_references_test.dart +++ b/pkg/analysis_server/test/search/element_references_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/search/member_declarations_test.dart b/pkg/analysis_server/test/search/member_declarations_test.dart index 5e02cc2bf11..46e9a46491f 100644 --- a/pkg/analysis_server/test/search/member_declarations_test.dart +++ b/pkg/analysis_server/test/search/member_declarations_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/search/member_references_test.dart b/pkg/analysis_server/test/search/member_references_test.dart index a2c7b18840d..ca74c67b1cf 100644 --- a/pkg/analysis_server/test/search/member_references_test.dart +++ b/pkg/analysis_server/test/search/member_references_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/search/search_result_test.dart b/pkg/analysis_server/test/search/search_result_test.dart index 02c82a66cf7..978f0ec8cae 100644 --- a/pkg/analysis_server/test/search/search_result_test.dart +++ b/pkg/analysis_server/test/search/search_result_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/search/search_engine.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/search/test_all.dart b/pkg/analysis_server/test/search/test_all.dart index 403be90637c..b4e4f8c90d6 100644 --- a/pkg/analysis_server/test/search/test_all.dart +++ b/pkg/analysis_server/test/search/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'declarations_test.dart' as declarations_test; diff --git a/pkg/analysis_server/test/search/top_level_declarations_test.dart b/pkg/analysis_server/test/search/top_level_declarations_test.dart index 84735c2c831..7cda6cfcdb4 100644 --- a/pkg/analysis_server/test/search/top_level_declarations_test.dart +++ b/pkg/analysis_server/test/search/top_level_declarations_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/search/type_hierarchy_test.dart b/pkg/analysis_server/test/search/type_hierarchy_test.dart index 2c0f0344912..4b11bba4b35 100644 --- a/pkg/analysis_server/test/search/type_hierarchy_test.dart +++ b/pkg/analysis_server/test/search/type_hierarchy_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/search/search_domain.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart index 1004b9b2889..dc5be497d45 100644 --- a/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/arglist_contributor.dart'; import 'package:analyzer/src/dart/analysis/experiments.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart index ea9647002a1..952c66a0bcd 100644 --- a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/combinator_contributor.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart index 07e675296aa..d0bb800a2cd 100644 --- a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart +++ b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart b/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart index cd8e243ee08..ab89e1bfe34 100644 --- a/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/extension_member_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/extension_member_contributor_test.dart index 12a2cad347c..2d51dba0d4e 100644 --- a/pkg/analysis_server/test/services/completion/dart/extension_member_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/extension_member_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/extension_member_contributor.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/field_formal_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/field_formal_contributor_test.dart index d28095ffc20..58ed66b93cc 100644 --- a/pkg/analysis_server/test/services/completion/dart/field_formal_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/field_formal_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/field_formal_contributor.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart index f8b642b8d27..c1e03c4ef60 100644 --- a/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/imported_reference_contributor.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart index 84b0ba84a40..4abe258e9cb 100644 --- a/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/keyword_contributor.dart'; import 'package:analyzer/dart/analysis/features.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart index 6e8832b2295..b4223baa1ac 100644 --- a/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/label_contributor.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart index 023cef54b39..3ed1036db81 100644 --- a/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/library_member_contributor.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/library_prefix_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/library_prefix_contributor_test.dart index e6e9ec257e0..e717c1d7019 100644 --- a/pkg/analysis_server/test/services/completion/dart/library_prefix_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/library_prefix_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/library_prefix_contributor.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart index 6417557e18b..3cabd97cbed 100644 --- a/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/local_library_contributor.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart index 7fbc2bfcbb3..4f97ee453cb 100644 --- a/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/local_reference_contributor.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart index 68a9878ea8f..c058de6d95d 100644 --- a/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/named_constructor_contributor.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/override_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/override_contributor_test.dart index 34832e924a1..55cad3f08f6 100644 --- a/pkg/analysis_server/test/services/completion/dart/override_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/override_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/override_contributor.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/bool_assignment_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/bool_assignment_test.dart index 039c915b1da..701f7c574cb 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/bool_assignment_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/bool_assignment_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/completion_relevance.dart b/pkg/analysis_server/test/services/completion/dart/relevance/completion_relevance.dart index 81532df2629..8a2fcd3bfea 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/completion_relevance.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/completion_relevance.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/deprecated_member_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/deprecated_member_test.dart index 44d0f92aa0e..fe82af1d125 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/deprecated_member_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/deprecated_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/instance_member_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/instance_member_test.dart index de08d73c233..5faa5df45ff 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/instance_member_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/instance_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion_relevance.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/is_no_such_method_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/is_no_such_method_test.dart index 388a377d739..52327e66b96 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/is_no_such_method_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/is_no_such_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/local_variable_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/local_variable_test.dart index c1481fb6bcd..284020facdb 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/local_variable_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/local_variable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/named_argument_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/named_argument_test.dart index ff02ed2f22c..b9c200d0d9d 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/named_argument_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/named_argument_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../../../../src/utilities/mock_packages.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/non_type_member_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/non_type_member_test.dart index 084c91cc75b..27f3789f606 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/non_type_member_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/non_type_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/static_member_test.dart b/pkg/analysis_server/test/services/completion/dart/relevance/static_member_test.dart index 314b1e09b9d..7042169c020 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/static_member_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/static_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion_relevance.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/relevance/test_all.dart b/pkg/analysis_server/test/services/completion/dart/relevance/test_all.dart index d6679e5bc75..d6bf383cb05 100644 --- a/pkg/analysis_server/test/services/completion/dart/relevance/test_all.dart +++ b/pkg/analysis_server/test/services/completion/dart/relevance/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'bool_assignment_test.dart' as bool_assignments; diff --git a/pkg/analysis_server/test/services/completion/dart/static_member_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/static_member_contributor_test.dart index 7253f49857b..72f6bb82f99 100644 --- a/pkg/analysis_server/test/services/completion/dart/static_member_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/static_member_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/static_member_contributor.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/test_all.dart b/pkg/analysis_server/test/services/completion/dart/test_all.dart index c8ccce6fd29..7e3c13cf7a6 100644 --- a/pkg/analysis_server/test/services/completion/dart/test_all.dart +++ b/pkg/analysis_server/test/services/completion/dart/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'arglist_contributor_test.dart' as arglist_test; diff --git a/pkg/analysis_server/test/services/completion/dart/type_member_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/type_member_contributor_test.dart index 982f671f803..9ff66d1fbac 100644 --- a/pkg/analysis_server/test/services/completion/dart/type_member_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/type_member_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/type_member_contributor.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/uri_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/uri_contributor_test.dart index e19ca34cf65..ab0b15146d0 100644 --- a/pkg/analysis_server/test/services/completion/dart/uri_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/uri_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/uri_contributor.dart'; import 'package:analyzer/file_system/memory_file_system.dart'; diff --git a/pkg/analysis_server/test/services/completion/dart/variable_name_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/variable_name_contributor_test.dart index 3b75a53d37c..5f252da1aa1 100644 --- a/pkg/analysis_server/test/services/completion/dart/variable_name_contributor_test.dart +++ b/pkg/analysis_server/test/services/completion/dart/variable_name_contributor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; import 'package:analysis_server/src/services/completion/dart/variable_name_contributor.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/postfix/postfix_completion_test.dart b/pkg/analysis_server/test/services/completion/postfix/postfix_completion_test.dart index fe4bbb1dba8..a88af5a1acb 100644 --- a/pkg/analysis_server/test/services/completion/postfix/postfix_completion_test.dart +++ b/pkg/analysis_server/test/services/completion/postfix/postfix_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/postfix/postfix_completion.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/postfix/test_all.dart b/pkg/analysis_server/test/services/completion/postfix/test_all.dart index 36604fe34d5..958d06b48f4 100644 --- a/pkg/analysis_server/test/services/completion/postfix/test_all.dart +++ b/pkg/analysis_server/test/services/completion/postfix/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'postfix_completion_test.dart' as postfix_completion_test; diff --git a/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart b/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart index 5d9972129ca..6d787d6faec 100644 --- a/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart +++ b/pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/statement/statement_completion.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/completion/statement/test_all.dart b/pkg/analysis_server/test/services/completion/statement/test_all.dart index 6d4d86e2167..8edd7fec23e 100644 --- a/pkg/analysis_server/test/services/completion/statement/test_all.dart +++ b/pkg/analysis_server/test/services/completion/statement/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'statement_completion_test.dart' as statement_completion_test; diff --git a/pkg/analysis_server/test/services/completion/test_all.dart b/pkg/analysis_server/test/services/completion/test_all.dart index 533fb7a7b4c..4aaa784f5ef 100644 --- a/pkg/analysis_server/test/services/completion/test_all.dart +++ b/pkg/analysis_server/test/services/completion/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'dart/test_all.dart' as dart_all; diff --git a/pkg/analysis_server/test/services/correction/change_test.dart b/pkg/analysis_server/test/services/correction/change_test.dart index 90b2dd964ff..8616a2ce359 100644 --- a/pkg/analysis_server/test/services/correction/change_test.dart +++ b/pkg/analysis_server/test/services/correction/change_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analyzer/src/generated/source.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/correction/levenshtein_test.dart b/pkg/analysis_server/test/services/correction/levenshtein_test.dart index dc320bdd573..24826fdbf23 100644 --- a/pkg/analysis_server/test/services/correction/levenshtein_test.dart +++ b/pkg/analysis_server/test/services/correction/levenshtein_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/levenshtein.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/correction/name_suggestion_test.dart b/pkg/analysis_server/test/services/correction/name_suggestion_test.dart index 243fd9b2b5f..7216dcd20d9 100644 --- a/pkg/analysis_server/test/services/correction/name_suggestion_test.dart +++ b/pkg/analysis_server/test/services/correction/name_suggestion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/name_suggestion.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/correction/organize_directives_test.dart b/pkg/analysis_server/test/services/correction/organize_directives_test.dart index 4b8aa22c43d..1bebd499999 100644 --- a/pkg/analysis_server/test/services/correction/organize_directives_test.dart +++ b/pkg/analysis_server/test/services/correction/organize_directives_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/organize_imports.dart'; import 'package:analyzer/error/error.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' diff --git a/pkg/analysis_server/test/services/correction/sort_members_test.dart b/pkg/analysis_server/test/services/correction/sort_members_test.dart index 88cc25d80d6..c6e55cfedfb 100644 --- a/pkg/analysis_server/test/services/correction/sort_members_test.dart +++ b/pkg/analysis_server/test/services/correction/sort_members_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/sort_members.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/correction/status_test.dart b/pkg/analysis_server/test/services/correction/status_test.dart index 0e00b195bdf..3bcc7a9847d 100644 --- a/pkg/analysis_server/test/services/correction/status_test.dart +++ b/pkg/analysis_server/test/services/correction/status_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart' hide Element; import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/search/search_engine.dart'; diff --git a/pkg/analysis_server/test/services/correction/test_all.dart b/pkg/analysis_server/test/services/correction/test_all.dart index 0b289d98fea..de358b62149 100644 --- a/pkg/analysis_server/test/services/correction/test_all.dart +++ b/pkg/analysis_server/test/services/correction/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'change_test.dart' as change_test; diff --git a/pkg/analysis_server/test/services/correction/util_test.dart b/pkg/analysis_server/test/services/correction/util_test.dart index cba88ef8bd3..203ccf90b21 100644 --- a/pkg/analysis_server/test/services/correction/util_test.dart +++ b/pkg/analysis_server/test/services/correction/util_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/util.dart'; import 'package:analyzer/src/generated/source.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/linter/linter_test.dart b/pkg/analysis_server/test/services/linter/linter_test.dart index ec60e13636a..031509a3495 100644 --- a/pkg/analysis_server/test/services/linter/linter_test.dart +++ b/pkg/analysis_server/test/services/linter/linter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/error/error.dart'; import 'package:analyzer/error/listener.dart'; import 'package:analyzer/src/analysis_options/analysis_options_provider.dart'; diff --git a/pkg/analysis_server/test/services/linter/test_all.dart b/pkg/analysis_server/test/services/linter/test_all.dart index bfc81864847..b9d816c0e0b 100644 --- a/pkg/analysis_server/test/services/linter/test_all.dart +++ b/pkg/analysis_server/test/services/linter/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'linter_test.dart' as linter_test; diff --git a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart index 82eca0fcdd9..7e9827013d9 100644 --- a/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart +++ b/pkg/analysis_server/test/services/refactoring/abstract_refactoring.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analysis_server/src/services/search/search_engine.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/abstract_rename.dart b/pkg/analysis_server/test/services/refactoring/abstract_rename.dart index 3a3c7aa6564..14375417916 100644 --- a/pkg/analysis_server/test/services/refactoring/abstract_rename.dart +++ b/pkg/analysis_server/test/services/refactoring/abstract_rename.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/namespace.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer/dart/ast/ast.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart b/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart index 17c71032dde..ff2de57b7ab 100644 --- a/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart +++ b/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' hide ElementKind; diff --git a/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart b/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart index 7afbb5d42c5..d7434390549 100644 --- a/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart +++ b/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart' diff --git a/pkg/analysis_server/test/services/refactoring/extract_local_test.dart b/pkg/analysis_server/test/services/refactoring/extract_local_test.dart index 4d5d5bfc626..215745e92f7 100644 --- a/pkg/analysis_server/test/services/refactoring/extract_local_test.dart +++ b/pkg/analysis_server/test/services/refactoring/extract_local_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/src/services/linter/lint_names.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/extract_method_test.dart b/pkg/analysis_server/test/services/refactoring/extract_method_test.dart index 71155fe2f4f..06b21319983 100644 --- a/pkg/analysis_server/test/services/refactoring/extract_method_test.dart +++ b/pkg/analysis_server/test/services/refactoring/extract_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/refactoring/extract_method.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/extract_widget_test.dart b/pkg/analysis_server/test/services/refactoring/extract_widget_test.dart index 23d0d927b29..8ceaf7807b6 100644 --- a/pkg/analysis_server/test/services/refactoring/extract_widget_test.dart +++ b/pkg/analysis_server/test/services/refactoring/extract_widget_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/refactoring/extract_widget.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/inline_local_test.dart b/pkg/analysis_server/test/services/refactoring/inline_local_test.dart index 64099805816..80920b856cf 100644 --- a/pkg/analysis_server/test/services/refactoring/inline_local_test.dart +++ b/pkg/analysis_server/test/services/refactoring/inline_local_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/inline_local.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/inline_method_test.dart b/pkg/analysis_server/test/services/refactoring/inline_method_test.dart index 0f5d160d3cf..204df5c9b11 100644 --- a/pkg/analysis_server/test/services/refactoring/inline_method_test.dart +++ b/pkg/analysis_server/test/services/refactoring/inline_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/refactoring/inline_method.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer/src/generated/source.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/move_file_test.dart b/pkg/analysis_server/test/services/refactoring/move_file_test.dart index e83a314c862..adab84f89d0 100644 --- a/pkg/analysis_server/test/services/refactoring/move_file_test.dart +++ b/pkg/analysis_server/test/services/refactoring/move_file_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/naming_conventions_test.dart b/pkg/analysis_server/test/services/refactoring/naming_conventions_test.dart index ea21e44316c..810ec9b5e2f 100644 --- a/pkg/analysis_server/test/services/refactoring/naming_conventions_test.dart +++ b/pkg/analysis_server/test/services/refactoring/naming_conventions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/status.dart'; import 'package:analysis_server/src/services/refactoring/naming_conventions.dart'; import 'package:analysis_server/src/services/refactoring/refactoring.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart b/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart index 24223d8b539..47a6c127c13 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/src/generated/source.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart b/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart index 50f73a32205..2cb92700202 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/refactoring/refactoring.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_extension_member_test.dart b/pkg/analysis_server/test/services/refactoring/rename_extension_member_test.dart index 84908027063..36f2bc31a57 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_extension_member_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_extension_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_import_test.dart b/pkg/analysis_server/test/services/refactoring/rename_import_test.dart index b0305ee69f7..0e90484dfa6 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_import_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_label_test.dart b/pkg/analysis_server/test/services/refactoring/rename_label_test.dart index 6ca432edec3..98f5cb99578 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_label_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_label_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart index 38c315a1abb..3b220911e09 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_local_test.dart b/pkg/analysis_server/test/services/refactoring/rename_local_test.dart index 533456b7b27..c620f97f975 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_local_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_local_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart b/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart index c2afbdca456..84b916ecfe2 100644 --- a/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart +++ b/pkg/analysis_server/test/services/refactoring/rename_unit_member_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/services/refactoring/test_all.dart b/pkg/analysis_server/test/services/refactoring/test_all.dart index d48e8791f2b..9dc8a8e1f47 100644 --- a/pkg/analysis_server/test/services/refactoring/test_all.dart +++ b/pkg/analysis_server/test/services/refactoring/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'convert_getter_to_method_test.dart' as convert_getter_to_method_test; diff --git a/pkg/analysis_server/test/services/search/element_visitors_test.dart b/pkg/analysis_server/test/services/search/element_visitors_test.dart index be601d3abfd..3f2b9e43ef7 100644 --- a/pkg/analysis_server/test/services/search/element_visitors_test.dart +++ b/pkg/analysis_server/test/services/search/element_visitors_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/search/element_visitors.dart'; import 'package:analyzer/dart/element/element.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/services/search/hierarchy_test.dart b/pkg/analysis_server/test/services/search/hierarchy_test.dart index e576ae2137e..fc72aa48b31 100644 --- a/pkg/analysis_server/test/services/search/hierarchy_test.dart +++ b/pkg/analysis_server/test/services/search/hierarchy_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/search/hierarchy.dart'; import 'package:analysis_server/src/services/search/search_engine_internal.dart'; import 'package:analyzer/dart/element/element.dart'; diff --git a/pkg/analysis_server/test/services/search/search_engine_test.dart b/pkg/analysis_server/test/services/search/search_engine_test.dart index 9e59c610455..593f4833a02 100644 --- a/pkg/analysis_server/test/services/search/search_engine_test.dart +++ b/pkg/analysis_server/test/services/search/search_engine_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/search/search_engine.dart'; import 'package:analysis_server/src/services/search/search_engine_internal.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/test/services/search/test_all.dart b/pkg/analysis_server/test/services/search/test_all.dart index c3f8f91f5c0..123f0cf2f11 100644 --- a/pkg/analysis_server/test/services/search/test_all.dart +++ b/pkg/analysis_server/test/services/search/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'element_visitors_test.dart' as element_visitors; diff --git a/pkg/analysis_server/test/services/test_all.dart b/pkg/analysis_server/test/services/test_all.dart index 954023da29f..85f29c18602 100644 --- a/pkg/analysis_server/test/services/test_all.dart +++ b/pkg/analysis_server/test/services/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion/test_all.dart' as completion_all; diff --git a/pkg/analysis_server/test/socket_server_test.dart b/pkg/analysis_server/test/socket_server_test.dart index d62ab2e8b18..b7877f91ff0 100644 --- a/pkg/analysis_server/test/socket_server_test.dart +++ b/pkg/analysis_server/test/socket_server_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/src/cider/assists_test.dart b/pkg/analysis_server/test/src/cider/assists_test.dart index db0e616b290..defbb804ef6 100644 --- a/pkg/analysis_server/test/src/cider/assists_test.dart +++ b/pkg/analysis_server/test/src/cider/assists_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; import 'package:analysis_server/src/cider/assists.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; diff --git a/pkg/analysis_server/test/src/cider/cider_service.dart b/pkg/analysis_server/test/src/cider/cider_service.dart index a1a0f10e219..cbbc8768357 100644 --- a/pkg/analysis_server/test/src/cider/cider_service.dart +++ b/pkg/analysis_server/test/src/cider/cider_service.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analyzer/src/dart/analysis/byte_store.dart'; diff --git a/pkg/analysis_server/test/src/cider/completion_test.dart b/pkg/analysis_server/test/src/cider/completion_test.dart index cc3ed2d0214..b64e58506af 100644 --- a/pkg/analysis_server/test/src/cider/completion_test.dart +++ b/pkg/analysis_server/test/src/cider/completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/cider/completion.dart'; import 'package:analyzer/dart/analysis/results.dart'; import 'package:analyzer/source/line_info.dart'; diff --git a/pkg/analysis_server/test/src/cider/fixes_test.dart b/pkg/analysis_server/test/src/cider/fixes_test.dart index 8b8d691a4b2..590ae333332 100644 --- a/pkg/analysis_server/test/src/cider/fixes_test.dart +++ b/pkg/analysis_server/test/src/cider/fixes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; import 'package:analysis_server/src/cider/fixes.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/test/src/cider/test_all.dart b/pkg/analysis_server/test/src/cider/test_all.dart index 524383b2c8f..05483ca9102 100644 --- a/pkg/analysis_server/test/src/cider/test_all.dart +++ b/pkg/analysis_server/test/src/cider/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'assists_test.dart' as assists; diff --git a/pkg/analysis_server/test/src/computer/closing_labels_computer_test.dart b/pkg/analysis_server/test/src/computer/closing_labels_computer_test.dart index 85369d1b32e..47c1a0135a2 100644 --- a/pkg/analysis_server/test/src/computer/closing_labels_computer_test.dart +++ b/pkg/analysis_server/test/src/computer/closing_labels_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/computer/computer_closingLabels.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/computer/folding_computer_test.dart b/pkg/analysis_server/test/src/computer/folding_computer_test.dart index 03534e76184..6f1df02db1b 100644 --- a/pkg/analysis_server/test/src/computer/folding_computer_test.dart +++ b/pkg/analysis_server/test/src/computer/folding_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/computer/computer_folding.dart'; import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/computer/highlights_computer_test.dart b/pkg/analysis_server/test/src/computer/highlights_computer_test.dart index 5880e687f34..3b3aacb493f 100644 --- a/pkg/analysis_server/test/src/computer/highlights_computer_test.dart +++ b/pkg/analysis_server/test/src/computer/highlights_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/computer/computer_highlights.dart'; import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/computer/import_elements_computer_test.dart b/pkg/analysis_server/test/src/computer/import_elements_computer_test.dart index 8b0f30cb69e..cc30a9369a1 100644 --- a/pkg/analysis_server/test/src/computer/import_elements_computer_test.dart +++ b/pkg/analysis_server/test/src/computer/import_elements_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/computer/import_elements_computer.dart'; import 'package:analyzer/src/test_utilities/package_config_file_builder.dart'; diff --git a/pkg/analysis_server/test/src/computer/imported_elements_computer_test.dart b/pkg/analysis_server/test/src/computer/imported_elements_computer_test.dart index 171d6271b95..9f55abb4ff8 100644 --- a/pkg/analysis_server/test/src/computer/imported_elements_computer_test.dart +++ b/pkg/analysis_server/test/src/computer/imported_elements_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/computer/imported_elements_computer.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/computer/outline_computer_test.dart b/pkg/analysis_server/test/src/computer/outline_computer_test.dart index 7c3ca64b1ea..191bade46af 100644 --- a/pkg/analysis_server/test/src/computer/outline_computer_test.dart +++ b/pkg/analysis_server/test/src/computer/outline_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/computer/computer_outline.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:meta/meta.dart'; diff --git a/pkg/analysis_server/test/src/computer/test_all.dart b/pkg/analysis_server/test/src/computer/test_all.dart index 1a04173341a..a1243b23cad 100644 --- a/pkg/analysis_server/test/src/computer/test_all.dart +++ b/pkg/analysis_server/test/src/computer/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'closing_labels_computer_test.dart' as closing_labels_computer; diff --git a/pkg/analysis_server/test/src/domain_abstract_test.dart b/pkg/analysis_server/test/src/domain_abstract_test.dart index 46c9aa6ed37..73c72eb3995 100644 --- a/pkg/analysis_server/test/src/domain_abstract_test.dart +++ b/pkg/analysis_server/test/src/domain_abstract_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/domain_abstract.dart'; import 'package:analysis_server/src/plugin/plugin_manager.dart'; import 'package:analysis_server/src/protocol_server.dart' hide Element; diff --git a/pkg/analysis_server/test/src/domains/completion/available_suggestion_sets_test.dart b/pkg/analysis_server/test/src/domains/completion/available_suggestion_sets_test.dart index 5f6c972eb1a..32f0198d4b7 100644 --- a/pkg/analysis_server/test/src/domains/completion/available_suggestion_sets_test.dart +++ b/pkg/analysis_server/test/src/domains/completion/available_suggestion_sets_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/domains/completion/available_suggestions_base.dart b/pkg/analysis_server/test/src/domains/completion/available_suggestions_base.dart index 1f4317b0775..76e3d5c8c00 100644 --- a/pkg/analysis_server/test/src/domains/completion/available_suggestions_base.dart +++ b/pkg/analysis_server/test/src/domains/completion/available_suggestions_base.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/protocol/protocol_constants.dart'; diff --git a/pkg/analysis_server/test/src/domains/completion/get_suggestion_details_test.dart b/pkg/analysis_server/test/src/domains/completion/get_suggestion_details_test.dart index 7876489ae03..9b4d38a0675 100644 --- a/pkg/analysis_server/test/src/domains/completion/get_suggestion_details_test.dart +++ b/pkg/analysis_server/test/src/domains/completion/get_suggestion_details_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:meta/meta.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/domains/completion/get_suggestions_available_test.dart b/pkg/analysis_server/test/src/domains/completion/get_suggestions_available_test.dart index fe4524b6f8a..9ec1326a63f 100644 --- a/pkg/analysis_server/test/src/domains/completion/get_suggestions_available_test.dart +++ b/pkg/analysis_server/test/src/domains/completion/get_suggestions_available_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/domains/completion/test_all.dart b/pkg/analysis_server/test/src/domains/completion/test_all.dart index 1452e21c842..dc4bd6b58b8 100644 --- a/pkg/analysis_server/test/src/domains/completion/test_all.dart +++ b/pkg/analysis_server/test/src/domains/completion/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'available_suggestion_sets_test.dart' as available_suggestion_sets; diff --git a/pkg/analysis_server/test/src/domains/execution/completion_test.dart b/pkg/analysis_server/test/src/domains/execution/completion_test.dart index b70a9bb9145..92e32820162 100644 --- a/pkg/analysis_server/test/src/domains/execution/completion_test.dart +++ b/pkg/analysis_server/test/src/domains/execution/completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/domains/execution/completion.dart'; import 'package:analysis_server/src/protocol_server.dart'; import 'package:analyzer/file_system/overlay_file_system.dart'; diff --git a/pkg/analysis_server/test/src/domains/execution/test_all.dart b/pkg/analysis_server/test/src/domains/execution/test_all.dart index 1cbd9d36a07..88b3d884823 100644 --- a/pkg/analysis_server/test/src/domains/execution/test_all.dart +++ b/pkg/analysis_server/test/src/domains/execution/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion_test.dart' as completion_test; diff --git a/pkg/analysis_server/test/src/domains/flutter/base.dart b/pkg/analysis_server/test/src/domains/flutter/base.dart index 2cadf8b5c76..88d9c9d1089 100644 --- a/pkg/analysis_server/test/src/domains/flutter/base.dart +++ b/pkg/analysis_server/test/src/domains/flutter/base.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/flutter/flutter_domain.dart'; import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/domains/flutter/get_widget_description_test.dart b/pkg/analysis_server/test/src/domains/flutter/get_widget_description_test.dart index 45affaa9ed6..fe6b73a79eb 100644 --- a/pkg/analysis_server/test/src/domains/flutter/get_widget_description_test.dart +++ b/pkg/analysis_server/test/src/domains/flutter/get_widget_description_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/domains/flutter/set_property_value_test.dart b/pkg/analysis_server/test/src/domains/flutter/set_property_value_test.dart index 6475882f14e..10c2eb9a603 100644 --- a/pkg/analysis_server/test/src/domains/flutter/set_property_value_test.dart +++ b/pkg/analysis_server/test/src/domains/flutter/set_property_value_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/domains/flutter/test_all.dart b/pkg/analysis_server/test/src/domains/flutter/test_all.dart index 20305311e8f..97e2c810c23 100644 --- a/pkg/analysis_server/test/src/domains/flutter/test_all.dart +++ b/pkg/analysis_server/test/src/domains/flutter/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'get_widget_description_test.dart' as get_widget_description; diff --git a/pkg/analysis_server/test/src/domains/test_all.dart b/pkg/analysis_server/test/src/domains/test_all.dart index dac4cfed234..dc9a595f180 100644 --- a/pkg/analysis_server/test/src/domains/test_all.dart +++ b/pkg/analysis_server/test/src/domains/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion/test_all.dart' as completion; diff --git a/pkg/analysis_server/test/src/flutter/flutter_outline_computer_test.dart b/pkg/analysis_server/test/src/flutter/flutter_outline_computer_test.dart index 969b23865b5..da859cb74d7 100644 --- a/pkg/analysis_server/test/src/flutter/flutter_outline_computer_test.dart +++ b/pkg/analysis_server/test/src/flutter/flutter_outline_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/flutter/flutter_outline_computer.dart'; import 'package:analysis_server/src/protocol_server.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/test/src/flutter/flutter_outline_notification_test.dart b/pkg/analysis_server/test/src/flutter/flutter_outline_notification_test.dart index 67fec6f4ffe..7096a776851 100644 --- a/pkg/analysis_server/test/src/flutter/flutter_outline_notification_test.dart +++ b/pkg/analysis_server/test/src/flutter/flutter_outline_notification_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/protocol/protocol.dart'; diff --git a/pkg/analysis_server/test/src/flutter/test_all.dart b/pkg/analysis_server/test/src/flutter/test_all.dart index 48db0073b75..54e575a5be1 100644 --- a/pkg/analysis_server/test/src/flutter/test_all.dart +++ b/pkg/analysis_server/test/src/flutter/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'flutter_outline_computer_test.dart' as outline_computer; diff --git a/pkg/analysis_server/test/src/lsp/lsp_packet_transformer_test.dart b/pkg/analysis_server/test/src/lsp/lsp_packet_transformer_test.dart index 614fe4ffa33..bb8927a3af4 100644 --- a/pkg/analysis_server/test/src/lsp/lsp_packet_transformer_test.dart +++ b/pkg/analysis_server/test/src/lsp/lsp_packet_transformer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/src/lsp/lsp_packet_transformer.dart'; diff --git a/pkg/analysis_server/test/src/lsp/test_all.dart b/pkg/analysis_server/test/src/lsp/test_all.dart index 5f61e61accc..e51799f99df 100644 --- a/pkg/analysis_server/test/src/lsp/test_all.dart +++ b/pkg/analysis_server/test/src/lsp/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'lsp_packet_transformer_test.dart' as lsp_packet_transformer; diff --git a/pkg/analysis_server/test/src/plugin/notification_manager_test.dart b/pkg/analysis_server/test/src/plugin/notification_manager_test.dart index 3157c0ce935..25f5615817d 100644 --- a/pkg/analysis_server/test/src/plugin/notification_manager_test.dart +++ b/pkg/analysis_server/test/src/plugin/notification_manager_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol.dart' as server; import 'package:analysis_server/protocol/protocol_generated.dart' as server; import 'package:analysis_server/src/channel/channel.dart'; diff --git a/pkg/analysis_server/test/src/plugin/plugin_locator_test.dart b/pkg/analysis_server/test/src/plugin/plugin_locator_test.dart index 4e4cbdafec1..5b71ce6c150 100644 --- a/pkg/analysis_server/test/src/plugin/plugin_locator_test.dart +++ b/pkg/analysis_server/test/src/plugin/plugin_locator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/plugin/plugin_locator.dart'; import 'package:analyzer/src/test_utilities/resource_provider_mixin.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart b/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart index d9bea42f36f..ae1ba510ec5 100644 --- a/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart +++ b/pkg/analysis_server/test/src/plugin/plugin_manager_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' as io; import 'package:analysis_server/src/plugin/notification_manager.dart'; diff --git a/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart b/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart index 361cd0344e7..7906315c1e5 100644 --- a/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart +++ b/pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'package:analysis_server/src/plugin/plugin_locator.dart'; diff --git a/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart b/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart index 3d84f351640..a91d35245dd 100644 --- a/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart +++ b/pkg/analysis_server/test/src/plugin/protocol_test_utilities.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as server; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; diff --git a/pkg/analysis_server/test/src/plugin/request_converter_test.dart b/pkg/analysis_server/test/src/plugin/request_converter_test.dart index 7ba3049f673..42125bb01f1 100644 --- a/pkg/analysis_server/test/src/plugin/request_converter_test.dart +++ b/pkg/analysis_server/test/src/plugin/request_converter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as server; import 'package:analysis_server/src/plugin/request_converter.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/src/plugin/result_collector_test.dart b/pkg/analysis_server/test/src/plugin/result_collector_test.dart index 39a4486bb3d..a8892b573b1 100644 --- a/pkg/analysis_server/test/src/plugin/result_collector_test.dart +++ b/pkg/analysis_server/test/src/plugin/result_collector_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/plugin/result_collector.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/plugin/result_converter_test.dart b/pkg/analysis_server/test/src/plugin/result_converter_test.dart index 220ca9adac3..7eaaa6e2d62 100644 --- a/pkg/analysis_server/test/src/plugin/result_converter_test.dart +++ b/pkg/analysis_server/test/src/plugin/result_converter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as server; import 'package:analysis_server/src/plugin/result_converter.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/src/plugin/result_merger_test.dart b/pkg/analysis_server/test/src/plugin/result_merger_test.dart index 934e3351bea..0116e27f96c 100644 --- a/pkg/analysis_server/test/src/plugin/result_merger_test.dart +++ b/pkg/analysis_server/test/src/plugin/result_merger_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart'; import 'package:analysis_server/src/plugin/result_merger.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; diff --git a/pkg/analysis_server/test/src/plugin/test_all.dart b/pkg/analysis_server/test/src/plugin/test_all.dart index 9240a5d3a6f..70d0fd0706e 100644 --- a/pkg/analysis_server/test/src/plugin/test_all.dart +++ b/pkg/analysis_server/test/src/plugin/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'notification_manager_test.dart' as notification_manager_test; diff --git a/pkg/analysis_server/test/src/server/sdk_configuration_test.dart b/pkg/analysis_server/test/src/server/sdk_configuration_test.dart index b007d66ee21..e0a652571bd 100644 --- a/pkg/analysis_server/test/src/server/sdk_configuration_test.dart +++ b/pkg/analysis_server/test/src/server/sdk_configuration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/src/server/sdk_configuration.dart'; diff --git a/pkg/analysis_server/test/src/server/test_all.dart b/pkg/analysis_server/test/src/server/test_all.dart index cf5da10c007..4dcbb2aaa4f 100644 --- a/pkg/analysis_server/test/src/server/test_all.dart +++ b/pkg/analysis_server/test/src/server/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'sdk_configuration_test.dart' as sdk_configuration; void main() { diff --git a/pkg/analysis_server/test/src/services/completion/dart/completion_test.dart b/pkg/analysis_server/test/src/services/completion/dart/completion_test.dart index 004e07b7526..c9c355ef83e 100644 --- a/pkg/analysis_server/test/src/services/completion/dart/completion_test.dart +++ b/pkg/analysis_server/test/src/services/completion/dart/completion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/completion/dart/feature_computer_test.dart b/pkg/analysis_server/test/src/services/completion/dart/feature_computer_test.dart index c2a5bb6252e..4dbb90468f8 100644 --- a/pkg/analysis_server/test/src/services/completion/dart/feature_computer_test.dart +++ b/pkg/analysis_server/test/src/services/completion/dart/feature_computer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/dart/feature_computer.dart'; import 'package:analyzer_plugin/src/utilities/completion/completion_target.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/services/completion/dart/test_all.dart b/pkg/analysis_server/test/src/services/completion/dart/test_all.dart index ab0ad814b6f..06a051a312e 100644 --- a/pkg/analysis_server/test/src/services/completion/dart/test_all.dart +++ b/pkg/analysis_server/test/src/services/completion/dart/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion_test.dart' as completion; diff --git a/pkg/analysis_server/test/src/services/completion/filtering/fuzzy_matcher_test.dart b/pkg/analysis_server/test/src/services/completion/filtering/fuzzy_matcher_test.dart index 3bc5d7ae2db..b6070313a44 100644 --- a/pkg/analysis_server/test/src/services/completion/filtering/fuzzy_matcher_test.dart +++ b/pkg/analysis_server/test/src/services/completion/filtering/fuzzy_matcher_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/filtering/fuzzy_matcher.dart'; import 'package:meta/meta.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/services/completion/filtering/test_all.dart b/pkg/analysis_server/test/src/services/completion/filtering/test_all.dart index ffc9b80261b..77a55cd1700 100644 --- a/pkg/analysis_server/test/src/services/completion/filtering/test_all.dart +++ b/pkg/analysis_server/test/src/services/completion/filtering/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'fuzzy_matcher_test.dart' as fuzzy_matcher; diff --git a/pkg/analysis_server/test/src/services/completion/test_all.dart b/pkg/analysis_server/test/src/services/completion/test_all.dart index 19d31b34981..75303aa4b85 100644 --- a/pkg/analysis_server/test/src/services/completion/test_all.dart +++ b/pkg/analysis_server/test/src/services/completion/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'dart/test_all.dart' as dart; diff --git a/pkg/analysis_server/test/src/services/completion/yaml/analysis_options_generator_test.dart b/pkg/analysis_server/test/src/services/completion/yaml/analysis_options_generator_test.dart index c86dc284f51..c9e33de3700 100644 --- a/pkg/analysis_server/test/src/services/completion/yaml/analysis_options_generator_test.dart +++ b/pkg/analysis_server/test/src/services/completion/yaml/analysis_options_generator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/yaml/analysis_options_generator.dart'; import 'package:analyzer/src/task/options.dart'; import 'package:linter/src/rules.dart'; diff --git a/pkg/analysis_server/test/src/services/completion/yaml/fix_data_generator_test.dart b/pkg/analysis_server/test/src/services/completion/yaml/fix_data_generator_test.dart index 46343603c2c..3ded781f71c 100644 --- a/pkg/analysis_server/test/src/services/completion/yaml/fix_data_generator_test.dart +++ b/pkg/analysis_server/test/src/services/completion/yaml/fix_data_generator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/yaml/fix_data_generator.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/completion/yaml/pubspec_generator_test.dart b/pkg/analysis_server/test/src/services/completion/yaml/pubspec_generator_test.dart index acfead8c2ef..07d2bb747c1 100644 --- a/pkg/analysis_server/test/src/services/completion/yaml/pubspec_generator_test.dart +++ b/pkg/analysis_server/test/src/services/completion/yaml/pubspec_generator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/yaml/pubspec_generator.dart'; import 'package:analysis_server/src/services/pub/pub_api.dart'; import 'package:analysis_server/src/services/pub/pub_package_service.dart'; diff --git a/pkg/analysis_server/test/src/services/completion/yaml/test_all.dart b/pkg/analysis_server/test/src/services/completion/yaml/test_all.dart index 0d82611ac5f..e793c59274b 100644 --- a/pkg/analysis_server/test/src/services/completion/yaml/test_all.dart +++ b/pkg/analysis_server/test/src/services/completion/yaml/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'analysis_options_generator_test.dart' as analysis_options_generator; diff --git a/pkg/analysis_server/test/src/services/completion/yaml/yaml_generator_test_support.dart b/pkg/analysis_server/test/src/services/completion/yaml/yaml_generator_test_support.dart index 3baebe108d7..254a8559635 100644 --- a/pkg/analysis_server/test/src/services/completion/yaml/yaml_generator_test_support.dart +++ b/pkg/analysis_server/test/src/services/completion/yaml/yaml_generator_test_support.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/completion/yaml/yaml_completion_generator.dart'; import 'package:analyzer/src/test_utilities/resource_provider_mixin.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/add_diagnostic_property_reference_test.dart b/pkg/analysis_server/test/src/services/correction/assist/add_diagnostic_property_reference_test.dart index f9b684c4c0a..6a79a03957f 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/add_diagnostic_property_reference_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/add_diagnostic_property_reference_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/add_not_null_assert_test.dart b/pkg/analysis_server/test/src/services/correction/assist/add_not_null_assert_test.dart index d100c488bbe..ac70f989dc4 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/add_not_null_assert_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/add_not_null_assert_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/add_return_type_test.dart b/pkg/analysis_server/test/src/services/correction/assist/add_return_type_test.dart index c288dd0f150..3224af12c8b 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/add_return_type_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/add_return_type_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/add_type_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/assist/add_type_annotation_test.dart index 06724fbe862..e897474ffb0 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/add_type_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/add_type_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/assign_to_local_variable_test.dart b/pkg/analysis_server/test/src/services/correction/assist/assign_to_local_variable_test.dart index 3fa857a4c6e..96300006f9b 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/assign_to_local_variable_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/assign_to_local_variable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/assist_processor.dart b/pkg/analysis_server/test/src/services/correction/assist/assist_processor.dart index 1435f6cd025..ae5b9a6d45e 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/assist_processor.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/assist_processor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/correction/assist_internal.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_class_to_mixin_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_class_to_mixin_test.dart index 9ccf27d157b..20b116ba280 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_class_to_mixin_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_class_to_mixin_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_block_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_block_test.dart index 9fe4f871847..b7b2a623f04 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_block_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_block_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_line_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_line_test.dart index 92a8449e4b7..660e12844db 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_line_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_documentation_into_line_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_async_body_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_async_body_test.dart index 012063624ab..353acef5663 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_async_body_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_async_body_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_block_body_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_block_body_test.dart index db04588b370..869228d0acc 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_block_body_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_block_body_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_expression_body_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_expression_body_test.dart index 6e8152dc62e..612ddfb3139 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_expression_body_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_expression_body_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_final_field_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_final_field_test.dart index 345eda1313f..5e2aabab5a4 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_final_field_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_final_field_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_for_index_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_for_index_test.dart index d6aca70f5e8..6fc9393e79d 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_for_index_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_for_index_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_generic_function_syntax_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_generic_function_syntax_test.dart index cb8072601b9..90c02e04729 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_generic_function_syntax_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_generic_function_syntax_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_getter_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_getter_test.dart index ffc7664365f..d806251b604 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_getter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_getter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_empty_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_empty_test.dart index ce777b0b63d..c34ba7ea71f 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_empty_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_empty_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_test.dart index 5a68942f4a1..e66f5401713 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_into_is_not_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_part_of_to_uri_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_part_of_to_uri_test.dart index 4f99ef9d3ff..e9f455ee712 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_part_of_to_uri_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_part_of_to_uri_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_double_quoted_string_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_double_quoted_string_test.dart index 813e4bc6c29..16bd7b367fe 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_double_quoted_string_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_double_quoted_string_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_field_parameter_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_field_parameter_test.dart index f616eab36c4..acb15776d2e 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_field_parameter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_field_parameter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_for_element_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_for_element_test.dart index 80cd6c14734..e9b0024cfde 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_for_element_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_for_element_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_if_element_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_if_element_test.dart index b277e605d44..274f6d46bf9 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_if_element_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_if_element_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_int_literal_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_int_literal_test.dart index 919ab32ddf1..7ebfdae81d4 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_int_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_int_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_list_literal_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_list_literal_test.dart index 880a6f1eb8a..68a565dd0ca 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_list_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_list_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_map_literal_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_map_literal_test.dart index 9b6b24bd5dd..f2d4e1969b0 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_map_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_map_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_multiline_string_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_multiline_string_test.dart index 1e52915ea09..1f3291adf0e 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_multiline_string_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_multiline_string_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_normal_parameter_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_normal_parameter_test.dart index 90973a69a42..c26c19b1acb 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_normal_parameter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_normal_parameter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_null_aware_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_null_aware_test.dart index 7d6b659fabc..67d578c949c 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_null_aware_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_null_aware_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_package_import_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_package_import_test.dart index 1fe3d84c60b..417fdcc9194 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_package_import_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_package_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_set_literal_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_set_literal_test.dart index 76079f7a8d9..20eeb8ced93 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_set_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_set_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_single_quoted_string_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_single_quoted_string_test.dart index 4214de8c4e9..8515b733a9f 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_single_quoted_string_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_single_quoted_string_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/convert_to_spread_test.dart b/pkg/analysis_server/test/src/services/correction/assist/convert_to_spread_test.dart index dc43575f33b..22cf5e055b1 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/convert_to_spread_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/convert_to_spread_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/encapsulate_field_test.dart b/pkg/analysis_server/test/src/services/correction/assist/encapsulate_field_test.dart index 5817ae247e5..f359ea968ad 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/encapsulate_field_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/encapsulate_field_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/exchange_operands_test.dart b/pkg/analysis_server/test/src/services/correction/assist/exchange_operands_test.dart index c5921f38a12..5ea4c1f7bb8 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/exchange_operands_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/exchange_operands_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_children_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_children_test.dart index 1bac364ba66..62410790d7d 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_children_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_children_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_stateful_widget_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_stateful_widget_test.dart index 426fa2bd89d..16088e84b71 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_stateful_widget_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_convert_to_stateful_widget_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_move_down_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_move_down_test.dart index 3ed98b5c55f..ecab131ff53 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_move_down_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_move_down_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_move_up_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_move_up_test.dart index 905d31682f5..e7130175d41 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_move_up_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_move_up_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_remove_widget_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_remove_widget_test.dart index f6ed88fa02f..0cd56e982d8 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_remove_widget_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_remove_widget_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_surround_with_set_state_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_surround_with_set_state_test.dart index d13bb22bcf2..7462d4620d3 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_surround_with_set_state_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_surround_with_set_state_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_child_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_child_test.dart index babc10771f1..2cd225ef323 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_child_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_child_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_parent_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_parent_test.dart index 197470b26cc..e9e36b5ea5c 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_parent_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_swap_with_parent_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_center_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_center_test.dart index 877ffb795f6..d34de668564 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_center_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_center_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_column_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_column_test.dart index fc79cb78c91..4b960ddd237 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_column_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_column_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_container_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_container_test.dart index 04702fad7a5..62aca169714 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_container_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_container_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_generic_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_generic_test.dart index e8df73fd49e..5bc12d60233 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_generic_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_generic_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_padding_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_padding_test.dart index 685b2df9440..6e4e119166b 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_padding_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_padding_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_row_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_row_test.dart index a9e65549c9e..fd16ea4b12e 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_row_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_row_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_sized_box_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_sized_box_test.dart index 74c69189f2d..8f7b42b1df4 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_sized_box_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_sized_box_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_stream_builder_test.dart b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_stream_builder_test.dart index 4c323421404..abb6e96b887 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_stream_builder_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/flutter_wrap_stream_builder_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/import_add_show_test.dart b/pkg/analysis_server/test/src/services/correction/assist/import_add_show_test.dart index e00ee785259..66bf9059e1e 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/import_add_show_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/import_add_show_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/inline_invocation_test.dart b/pkg/analysis_server/test/src/services/correction/assist/inline_invocation_test.dart index 23749ffb661..41352e8aac1 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/inline_invocation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/inline_invocation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/introduce_local_cast_type_test.dart b/pkg/analysis_server/test/src/services/correction/assist/introduce_local_cast_type_test.dart index 784efb96601..29f7c3e50dc 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/introduce_local_cast_type_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/introduce_local_cast_type_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/protocol/protocol_common.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/invert_if_statement_test.dart b/pkg/analysis_server/test/src/services/correction/assist/invert_if_statement_test.dart index b86a19030aa..503faefaebd 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/invert_if_statement_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/invert_if_statement_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/join_if_with_inner_test.dart b/pkg/analysis_server/test/src/services/correction/assist/join_if_with_inner_test.dart index 3c19528dca3..c4e4a9a5809 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/join_if_with_inner_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/join_if_with_inner_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/join_if_with_outer_test.dart b/pkg/analysis_server/test/src/services/correction/assist/join_if_with_outer_test.dart index a31c29e3bb3..56a6a4a3b96 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/join_if_with_outer_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/join_if_with_outer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/join_variable_declaration_test.dart b/pkg/analysis_server/test/src/services/correction/assist/join_variable_declaration_test.dart index 8b885c85502..f22173d5485 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/join_variable_declaration_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/join_variable_declaration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/remove_type_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/assist/remove_type_annotation_test.dart index a1efc0056cc..62bfecaf81c 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/remove_type_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/remove_type_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/replace_conditional_with_if_else_test.dart b/pkg/analysis_server/test/src/services/correction/assist/replace_conditional_with_if_else_test.dart index e5f19232090..7be0adcf94d 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/replace_conditional_with_if_else_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/replace_conditional_with_if_else_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/replace_if_else_with_conditional_test.dart b/pkg/analysis_server/test/src/services/correction/assist/replace_if_else_with_conditional_test.dart index 7641070d569..cbbf88043bb 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/replace_if_else_with_conditional_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/replace_if_else_with_conditional_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/replace_with_var_test.dart b/pkg/analysis_server/test/src/services/correction/assist/replace_with_var_test.dart index 6ab4ad85c7e..d0ab5cea6ac 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/replace_with_var_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/replace_with_var_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/shadow_field_test.dart b/pkg/analysis_server/test/src/services/correction/assist/shadow_field_test.dart index f13b9669ff2..ba8a0e3563c 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/shadow_field_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/shadow_field_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/sort_child_property_last_test.dart b/pkg/analysis_server/test/src/services/correction/assist/sort_child_property_last_test.dart index b407482ff8d..96c39a9c1af 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/sort_child_property_last_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/sort_child_property_last_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/split_and_condition_test.dart b/pkg/analysis_server/test/src/services/correction/assist/split_and_condition_test.dart index 2e96ea73494..5845e92112d 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/split_and_condition_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/split_and_condition_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/split_variable_declaration_test.dart b/pkg/analysis_server/test/src/services/correction/assist/split_variable_declaration_test.dart index 255f6e547e8..c9e5eb4165b 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/split_variable_declaration_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/split_variable_declaration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_block_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_block_test.dart index 54ef4491560..085fec0d118 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_block_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_block_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_do_while_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_do_while_test.dart index d6ad18f6321..ff7ca9cd15e 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_do_while_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_do_while_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_in_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_in_test.dart index 6b7ca74b4ef..ecd429773ad 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_in_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_in_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_test.dart index ca39826b97b..3ae3580cad5 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_for_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_if_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_if_test.dart index 91ed08c04f1..6b77b2c7a1d 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_if_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_if_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_catch_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_catch_test.dart index 3fa1377f25a..823ec7a8ca3 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_catch_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_catch_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_finally_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_finally_test.dart index e6d50109850..81a75c4dee9 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_finally_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_try_finally_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/surround_with_while_test.dart b/pkg/analysis_server/test/src/services/correction/assist/surround_with_while_test.dart index 24eb5912f31..c989ffd2b5d 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/surround_with_while_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/surround_with_while_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/assist/test_all.dart b/pkg/analysis_server/test/src/services/correction/assist/test_all.dart index 9a0192e16d6..fef565f53f3 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'add_diagnostic_property_reference_test.dart' as add_diagnostic_property; diff --git a/pkg/analysis_server/test/src/services/correction/assist/use_curly_braces_test.dart b/pkg/analysis_server/test/src/services/correction/assist/use_curly_braces_test.dart index 93d28d6d11c..df542920e73 100644 --- a/pkg/analysis_server/test/src/services/correction/assist/use_curly_braces_test.dart +++ b/pkg/analysis_server/test/src/services/correction/assist/use_curly_braces_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/assist.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/assist/assist.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_async_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_async_test.dart index bb382ffdf22..dad676770ba 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_async_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_async_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer/src/error/codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_await_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_await_test.dart index 31ce0c60ee1..45dbde2876c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_await_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_await_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_const_test.dart index bcb28937715..c38b96f6219 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_curly_braces_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_curly_braces_test.dart index 18da15eca03..8bf57b5d135 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_curly_braces_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_curly_braces_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_diagnostic_property_reference_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_diagnostic_property_reference_test.dart index 7df0970d746..671d48f6ef2 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_diagnostic_property_reference_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_diagnostic_property_reference_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer/src/error/codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_explicit_cast_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_explicit_cast_test.dart index 797f0976557..e15b3c60d6f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_explicit_cast_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_explicit_cast_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_field_formal_parameters_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_field_formal_parameters_test.dart index b8dbde7eafe..6c53168610f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_field_formal_parameters_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_field_formal_parameters_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_late_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_late_test.dart index 039dd8d5113..4600c2de980 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_late_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_late_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_missing_enum_case_clauses_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_missing_enum_case_clauses_test.dart index f23da1cb8a0..7bdcdb5f113 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_missing_enum_case_clauses_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_missing_enum_case_clauses_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/error/error.dart'; import 'package:analyzer/src/error/codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_named_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_named_test.dart index d1572d6478a..b870f80f4b5 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_named_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_named_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_positional_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_positional_test.dart index 532f7a168b2..9176d522add 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_positional_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_positional_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_required_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_required_test.dart index b0738125f29..7649cf2504b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_required_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_missing_parameter_required_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/change_workspace.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/change_builder/change_workspace.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_missing_required_argument_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_missing_required_argument_test.dart index 593c68ce206..d0c172f23e1 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_missing_required_argument_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_missing_required_argument_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_ne_null_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_ne_null_test.dart index 0d52849743b..38912fdbbdb 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_ne_null_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_ne_null_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_null_check_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_null_check_test.dart index 84fb89a8d14..eaeb488a528 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_null_check_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_null_check_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/error/error.dart'; import 'package:analyzer/src/error/codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_override_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_override_test.dart index 7a33711de73..54e698340b5 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_override_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_override_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_required_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_required_test.dart index d5b03dc498a..237f0e07379 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_required_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_required_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_return_type_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_return_type_test.dart index 75a83837a17..33a21c1ae85 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_return_type_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_return_type_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_static_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_static_test.dart index 7fd378a6c7f..1c18f093749 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_static_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_static_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_super_constructor_invocation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_super_constructor_invocation_test.dart index ce129ccce1d..73348d88460 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_super_constructor_invocation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_super_constructor_invocation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/add_type_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/add_type_annotation_test.dart index dd375be8a68..338af4ba155 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/add_type_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/add_type_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart index deb6eb4ac81..f099050d3f5 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:linter/src/rules.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_setting_test.dart b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_setting_test.dart index c378884d88a..87870a26362 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_setting_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_setting_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'test_support.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_all.dart b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_all.dart index 6d61c1937c7..68e1ceb8226 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'remove_lint_test.dart' as remove_lint; diff --git a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_support.dart b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_support.dart index 4d1d0a84e31..8762e9378ed 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_support.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/test_support.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; import 'package:analysis_server/src/protocol_server.dart' show SourceEdit; import 'package:analysis_server/src/services/correction/fix/analysis_options/fix_generator.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_await_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_await_test.dart index dc61da4a89c..66f6bdcd99b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_await_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_await_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_const_test.dart index d20eaf89706..08014651df8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_diagnostic_property_reference_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_diagnostic_property_reference_test.dart index 0fead9f125b..c0e7ad48201 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_diagnostic_property_reference_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_diagnostic_property_reference_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_override_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_override_test.dart index b62d97e1b58..bbd1463d586 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_override_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_override_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_required_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_required_test.dart index 0be6d184953..ba1b0009196 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/add_required_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/add_required_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor.dart index 59ae8b8ff6c..82b04e22c9a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/bulk_fix_processor.dart'; import 'package:analysis_server/src/services/correction/change_workspace.dart'; import 'package:analyzer/src/dart/analysis/byte_store.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor_test.dart index 2e36f1475bc..991651f9e73 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/bulk_fix_processor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_documentation_into_line_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_documentation_into_line_test.dart index 2094c37dfe4..7773740af9c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_documentation_into_line_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_documentation_into_line_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_map_from_iterable_to_for_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_map_from_iterable_to_for_literal_test.dart index d9e38343e3a..51d99c265fe 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_map_from_iterable_to_for_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_map_from_iterable_to_for_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_contains_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_contains_test.dart index eacb1ccf483..65b91391b1a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_contains_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_contains_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_generic_function_syntax_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_generic_function_syntax_test.dart index e279e12c529..dccf8b9a011 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_generic_function_syntax_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_generic_function_syntax_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_element_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_element_test.dart index e965e54516a..64cfc421bb9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_element_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_element_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_null_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_null_test.dart index 5bca56c0bc5..8c7b83fbf58 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_null_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_if_null_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_int_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_int_literal_test.dart index 32b17ce5916..b1540973840 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_int_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_int_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_is_not_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_is_not_test.dart index 42a907d83db..3fe2ff660b8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_is_not_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_is_not_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_list_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_list_literal_test.dart index af7f3cb64ae..c130c0b373f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_list_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_list_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_map_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_map_literal_test.dart index cb02894d767..b018ce03323 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_map_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_map_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_null_aware_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_null_aware_test.dart index e30e7d7302a..45b117a2507 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_null_aware_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_null_aware_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_package_import_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_package_import_test.dart index 3c8cf2ba2c3..8bec06fb269 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_package_import_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_package_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_relative_import_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_relative_import_test.dart index 40b022fafbf..78f50bf6857 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_relative_import_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_relative_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_set_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_set_literal_test.dart index bfcaf1cad47..0ee4a40dea7 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_set_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_set_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_single_quoted_strings_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_single_quoted_strings_test.dart index 68a54c05622..92d1d10a19a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_single_quoted_strings_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_single_quoted_strings_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_spread_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_spread_test.dart index ddbdc0a2df4..62194465722 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_spread_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_spread_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_where_type_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_where_type_test.dart index 62788ef40e1..c0a382f240d 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_where_type_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/convert_to_where_type_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/create_method_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/create_method_test.dart index cf17881f57d..c111c460ec0 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/create_method_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/create_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/data_driven_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/data_driven_test.dart index 09a3433f5b7..0c50eda5301 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/data_driven_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/data_driven_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/bulk_fix_processor.dart'; import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_manager.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_invocation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_invocation_test.dart index b34d12455b4..8ec7bb079b9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_invocation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_invocation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_typedef_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_typedef_test.dart index c2612f9fb09..0673ac0774c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_typedef_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/inline_typedef_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/make_final_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/make_final_test.dart index 21724f2d059..4af517147ed 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/make_final_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/make_final_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_argument_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_argument_test.dart index 7d87ea4bc98..613c3739d8a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_argument_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_argument_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_await_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_await_test.dart index b1c9f97d2be..85c8868ef2a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_await_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_await_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_duplicate_case_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_duplicate_case_test.dart index 76d7a9140c9..350c861d903 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_duplicate_case_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_duplicate_case_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_catch_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_catch_test.dart index a6a0897d26a..c23610fd46a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_catch_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_catch_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_constructor_body_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_constructor_body_test.dart index 9469973153e..b1def0927d0 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_constructor_body_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_constructor_body_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_else_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_else_test.dart index 5c967e2e3cb..e184a79c2cb 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_else_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_else_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_statement_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_statement_test.dart index fbf7b397666..87bf05a14a2 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_statement_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_empty_statement_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_if_null_operator_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_if_null_operator_test.dart index 0003079f6f9..b73ecb5c07b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_if_null_operator_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_if_null_operator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_initializer_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_initializer_test.dart index c95ede136e2..a8c3614848c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_initializer_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_initializer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_interpolation_braces_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_interpolation_braces_test.dart index a291bf19da8..51fb5611617 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_interpolation_braces_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_interpolation_braces_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_method_declaration_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_method_declaration_test.dart index 65f79185803..e6b5a9bd598 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_method_declaration_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_method_declaration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_non_null_assertion_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_non_null_assertion_test.dart index eeacfbca1bb..46e164e6914 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_non_null_assertion_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_non_null_assertion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../../../../../abstract_context.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_operator_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_operator_test.dart index f876196c135..a80779ab8b3 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_operator_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_operator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_question_mark_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_question_mark_test.dart index 48706e96e9f..a87d83cfe1e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_question_mark_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_question_mark_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_this_expression_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_this_expression_test.dart index eb9eb5cc31e..fd30b02eb04 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_this_expression_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_this_expression_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_type_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_type_annotation_test.dart index 600d12d154d..018fd3d198b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_type_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_type_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_const_test.dart index eb112f702a4..2bbcf700b03 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_new_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_new_test.dart index 88670c331b4..39d2110c1df 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_new_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_new_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_string_interpolation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_string_interpolation_test.dart index 1ae3d1d80c0..bd639ad5e1b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_string_interpolation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/remove_unnecessary_string_interpolation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/rename_to_camel_case_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/rename_to_camel_case_test.dart index 5248e32e0be..9c3512176cd 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/rename_to_camel_case_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/rename_to_camel_case_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_colon_with_equals_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_colon_with_equals_test.dart index f057c74fea3..b74ba21b42d 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_colon_with_equals_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_colon_with_equals_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_final_with_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_final_with_const_test.dart index d886f78a0d4..d5d91f3e9c4 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_final_with_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_final_with_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_new_with_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_new_with_const_test.dart index f8ba7bd2f23..982c59693dc 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_new_with_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_new_with_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_null_with_closure_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_null_with_closure_test.dart index 9a686bf01bb..a82c882ba9c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_null_with_closure_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_null_with_closure_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_conditional_assignment_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_conditional_assignment_test.dart index 77c96156af3..bab21caa225 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_conditional_assignment_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_conditional_assignment_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_is_empty_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_is_empty_test.dart index b61ffd7e894..13b97769a17 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_is_empty_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_is_empty_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_tear_off_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_tear_off_test.dart index eef575ba163..777ac6e105a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_tear_off_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_tear_off_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_var_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_var_test.dart index 27367dcafda..ac0bf5560aa 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_var_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/replace_with_var_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/sort_child_properties_last_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/sort_child_properties_last_test.dart index 3cc5338c329..89b30db6427 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/sort_child_properties_last_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/sort_child_properties_last_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/test_all.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/test_all.dart index 6b8bb688faf..33acd388677 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'add_await_test.dart' as add_await; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/use_curly_braces_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/use_curly_braces_test.dart index 8e1f19aa750..9bbbeea2fb9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/use_curly_braces_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/use_curly_braces_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/use_is_not_empty_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/use_is_not_empty_test.dart index 1f337b881b4..1d1268b2905 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/use_is_not_empty_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/use_is_not_empty_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/bulk/use_rethrow_test.dart b/pkg/analysis_server/test/src/services/correction/fix/bulk/use_rethrow_test.dart index 9d4678bd420..cdd797d4bd8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/bulk/use_rethrow_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/bulk/use_rethrow_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/change_argument_name_test.dart b/pkg/analysis_server/test/src/services/correction/fix/change_argument_name_test.dart index 5bb073dae04..3fbed10e449 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/change_argument_name_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/change_argument_name_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/change_to_nearest_precise_value_test.dart b/pkg/analysis_server/test/src/services/correction/fix/change_to_nearest_precise_value_test.dart index 419a6c1078d..c4bf81bf4da 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/change_to_nearest_precise_value_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/change_to_nearest_precise_value_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/change_to_static_access_test.dart b/pkg/analysis_server/test/src/services/correction/fix/change_to_static_access_test.dart index dd985bb1ed7..a6720bfdd14 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/change_to_static_access_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/change_to_static_access_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/change_to_test.dart b/pkg/analysis_server/test/src/services/correction/fix/change_to_test.dart index da9231f4c95..0131fcd392b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/change_to_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/change_to_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/change_type_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/change_type_annotation_test.dart index c848914db9c..3d07b711749 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/change_type_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/change_type_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_documentation_into_line_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_documentation_into_line_test.dart index e68869f9d1e..51be47f5862 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_documentation_into_line_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_documentation_into_line_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_child_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_child_test.dart index 7afc732e523..c4602e47f4b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_child_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_child_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_children_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_children_test.dart index 0d5ae483e30..46797c9ed88 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_children_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_flutter_children_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_into_expression_body_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_into_expression_body_test.dart index 5bcdd3effb3..70c20334b39 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_into_expression_body_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_into_expression_body_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_contains_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_contains_test.dart index f0edd0b471a..6602062dfa9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_contains_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_contains_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_for_element_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_for_element_test.dart index fafbb6e99e3..1c35ea9a739 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_for_element_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_for_element_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_generic_function_syntax_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_generic_function_syntax_test.dart index 6d1ed6b20d5..634617b5add 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_generic_function_syntax_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_generic_function_syntax_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_element_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_element_test.dart index ed2c3aabd9d..677f515c6a1 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_element_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_element_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_null_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_null_test.dart index 1a641e7bece..749807a1cd4 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_null_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_if_null_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer/src/dart/error/lint_codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_int_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_int_literal_test.dart index 154e2152d32..c70252a71b8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_int_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_int_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_list_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_list_literal_test.dart index 160c5f4133f..c77702a04c4 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_list_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_list_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_map_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_map_literal_test.dart index 34076833e1f..4f1a80fbe43 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_map_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_map_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_named_arguments_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_named_arguments_test.dart index cf35cc7a8bc..18f99349183 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_named_arguments_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_named_arguments_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_spread_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_spread_test.dart index 8cdcb252942..4901a635585 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_spread_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_spread_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_test.dart index 52e07bf5312..4331faa89ca 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_null_aware_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_on_type_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_on_type_test.dart index f14cf3c1567..9d765ab673d 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_on_type_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_on_type_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_package_import_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_package_import_test.dart index e99142379e4..3cc1704d59f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_package_import_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_package_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_relative_import_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_relative_import_test.dart index 8e59b5f15be..b8bc8af7083 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_relative_import_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_relative_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer/src/error/codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_set_literal_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_set_literal_test.dart index 28674cb39d0..ef21709eb9e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_set_literal_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_set_literal_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_single_quoted_string_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_single_quoted_string_test.dart index 12f821266d7..d615eb6ad03 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_single_quoted_string_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_single_quoted_string_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_spread_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_spread_test.dart index bb9b5c838fb..a85080b9b0a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_spread_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_spread_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/convert_to_where_type_test.dart b/pkg/analysis_server/test/src/services/correction/fix/convert_to_where_type_test.dart index 7768534ef39..891dec09f35 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/convert_to_where_type_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/convert_to_where_type_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_class_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_class_test.dart index b81a200ae3e..69df2dff3a6 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_class_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_class_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_constructor_for_final_fields_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_constructor_for_final_fields_test.dart index 32efaedc764..3e1e6648430 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_constructor_for_final_fields_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_constructor_for_final_fields_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_constructor_super_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_constructor_super_test.dart index 19af80eba54..efb4913228d 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_constructor_super_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_constructor_super_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_constructor_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_constructor_test.dart index 233fa51a510..62ef51fa71f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_constructor_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_constructor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_field_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_field_test.dart index 869bda5ddf3..bcd22c6eaec 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_field_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_field_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_file_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_file_test.dart index 0c156d322a1..7eef88f3e7e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_file_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_file_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_function_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_function_test.dart index fd2fea715b3..42f5940c979 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_function_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_function_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_getter_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_getter_test.dart index af7db0e086c..dc573f5dafe 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_getter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_getter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_local_variable_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_local_variable_test.dart index 2c1d827c14c..78960dff635 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_local_variable_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_local_variable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_method_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_method_test.dart index 4549b21dc54..52fec47f78a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_method_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol_server.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_missing_overrides_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_missing_overrides_test.dart index 300d9aae702..e45d973274b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_missing_overrides_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_missing_overrides_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_mixin_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_mixin_test.dart index 024eab8f84e..0efaa4cb994 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_mixin_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_mixin_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_no_such_method_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_no_such_method_test.dart index 19bfb819ac7..09e733a34f9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_no_such_method_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_no_such_method_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/create_setter_test.dart b/pkg/analysis_server/test/src/services/correction/fix/create_setter_test.dart index 610f7dce086..0c9328146d8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/create_setter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/create_setter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/add_type_parameter_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/add_type_parameter_test.dart index dcda4bc07ed..1cb910edd25 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/add_type_parameter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/add_type_parameter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/add_type_parameter.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/changes_selector.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_descriptor.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_fragment_parser_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_fragment_parser_test.dart index 9a8fdc23700..5117185e32c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_fragment_parser_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_fragment_parser_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/base/errors.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/accessor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_fragment_parser.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_template_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_template_test.dart index f6ccc74e083..6a20dd12b0b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_template_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/code_template_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/accessor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/parameter_reference.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/data_driven_test_support.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/data_driven_test_support.dart index e26e0061952..6149d77bc7f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/data_driven_test_support.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/data_driven_test_support.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/dart/data_driven.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/code_template.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/conflicting_key_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/conflicting_key_test.dart index 77d6de774a5..876aec35e80 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/conflicting_key_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/conflicting_key_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/expected_primary_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/expected_primary_test.dart index 38c7e433a58..f9100e7941f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/expected_primary_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/expected_primary_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_character_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_character_test.dart index ab3ece6461e..1050f96ab20 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_character_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_character_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_key_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_key_test.dart index 0a7c158dded..ed9a783ad93 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_key_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_key_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_parameter_style_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_parameter_style_test.dart index 0fe38dbc00c..f2869c95cf3 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_parameter_style_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_parameter_style_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_required_if_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_required_if_test.dart index 5037a801f71..4f48576457b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_required_if_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_required_if_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_one_of_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_one_of_test.dart index fa9beb57145..fd960eb4f12 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_one_of_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_one_of_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_test.dart index 1bd6446664e..4fe611d2dd3 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/invalid_value_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_key_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_key_test.dart index c4a2e753bab..3efdb34fe54 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_key_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_key_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_one_of_multiple_keys_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_one_of_multiple_keys_test.dart index 002f2f5e3e2..9a2ef98f55b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_one_of_multiple_keys_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_one_of_multiple_keys_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_template_end_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_template_end_test.dart index 03012208f64..f9ed776da06 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_template_end_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_template_end_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_token_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_token_test.dart index c1ee9bd3fc2..549eac87bce 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_token_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_token_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_uri_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_uri_test.dart index ac21bfc8a61..8efa08bd1d2 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_uri_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/missing_uri_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/test_all.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/test_all.dart index bb2464aef48..8a67f05b364 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'conflicting_key_test.dart' as conflicting_key; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/undefined_variable_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/undefined_variable_test.dart index db854a53e91..5014984ea87 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/undefined_variable_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/undefined_variable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unexpected_token_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unexpected_token_test.dart index 9f6213c5355..f96685dd73d 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unexpected_token_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unexpected_token_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unknown_accessor_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unknown_accessor_test.dart index 205ad4242a9..c8776909845 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unknown_accessor_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unknown_accessor_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_key_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_key_test.dart index 64d724eafab..8e6df60677c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_key_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_key_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_version_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_version_test.dart index 606341ff8de..7bd3c130811 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_version_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/unsupported_version_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_parser.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/wrong_token_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/wrong_token_test.dart index ed35ea9495b..9548a682c66 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/wrong_token_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/wrong_token_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/yaml_syntax_error_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/yaml_syntax_error_test.dart index dfa3444b14d..a74c9d2a27f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/yaml_syntax_error_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/diagnostics/yaml_syntax_error_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_error_code.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/element_matcher_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/element_matcher_test.dart index f462b364100..aa9695ee346 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/element_matcher_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/element_matcher_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/element_kind.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_matcher.dart'; import 'package:analyzer/src/test_utilities/package_config_file_builder.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/end_to_end_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/end_to_end_test.dart index eb13dcfd603..dbabac18a5f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/end_to_end_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/end_to_end_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'data_driven_test_support.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/flutter_use_case_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/flutter_use_case_test.dart index e8d6d1b4226..327fe3adbc7 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/flutter_use_case_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/flutter_use_case_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'data_driven_test_support.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/modify_parameters_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/modify_parameters_test.dart index 5791e255006..bec1da67186 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/modify_parameters_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/modify_parameters_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/changes_selector.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_descriptor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_kind.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_parameter_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_parameter_test.dart index 3a189c0aec0..856d4e0590f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_parameter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_parameter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/changes_selector.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_descriptor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_kind.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_test.dart index 6e0ce4adbf0..0affe38a9db 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/rename_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/changes_selector.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_descriptor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/element_kind.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/sdk_fix_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/sdk_fix_test.dart index a154782ab9f..2dfa7b48f43 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/sdk_fix_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/sdk_fix_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_manager.dart'; import 'package:analyzer/src/test_utilities/mock_sdk.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/test_all.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/test_all.dart index a21ba3c7e47..f393c9b525e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'add_type_parameter_test.dart' as add_type_parameter; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_override_set_parser_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_override_set_parser_test.dart index 5aa8721ef67..a219dbc0fde 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_override_set_parser_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_override_set_parser_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:_fe_analyzer_shared/src/base/errors.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_override_set.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_override_set_parser.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_manager_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_manager_test.dart index c0f59db1e40..e8458488d8a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_manager_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_manager_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_manager.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test.dart index d2789c83672..73ce5088256 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/accessor.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/add_type_parameter.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/change.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test_support.dart b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test_support.dart index af3b094b5b4..a18e9beb7ca 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test_support.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/data_driven/transform_set_parser_test_support.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set.dart'; import 'package:analysis_server/src/services/correction/fix/data_driven/transform_set_parser.dart'; import 'package:analyzer/error/error.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/extend_class_for_mixin_test.dart b/pkg/analysis_server/test/src/services/correction/fix/extend_class_for_mixin_test.dart index 1624c7f21b8..e534c037524 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/extend_class_for_mixin_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/extend_class_for_mixin_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/fix_in_file_test.dart b/pkg/analysis_server/test/src/services/correction/fix/fix_in_file_test.dart index 52438b8aec3..7545858f4b9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/fix_in_file_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/fix_in_file_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix_internal.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/fix_processor.dart b/pkg/analysis_server/test/src/services/correction/fix/fix_processor.dart index 7ca8451a206..4c8fc0864a6 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/fix_processor.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/fix_processor.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; import 'package:analysis_server/src/services/correction/change_workspace.dart'; import 'package:analysis_server/src/services/correction/fix.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/fix_test.dart b/pkg/analysis_server/test/src/services/correction/fix/fix_test.dart index b66fd12f712..c457918e366 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/fix_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/fix_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/import_async_test.dart b/pkg/analysis_server/test/src/services/correction/fix/import_async_test.dart index 5fa217e7b68..519e973ba53 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/import_async_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/import_async_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/import_library_prefix_test.dart b/pkg/analysis_server/test/src/services/correction/fix/import_library_prefix_test.dart index c1ffcce68c3..821600b8078 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/import_library_prefix_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/import_library_prefix_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/import_library_project_test.dart b/pkg/analysis_server/test/src/services/correction/fix/import_library_project_test.dart index fcfed31ae3b..709dd4c35b7 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/import_library_project_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/import_library_project_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/import_library_sdk_test.dart b/pkg/analysis_server/test/src/services/correction/fix/import_library_sdk_test.dart index 8b0b7e5c33e..54edaa456f1 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/import_library_sdk_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/import_library_sdk_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/import_library_show_test.dart b/pkg/analysis_server/test/src/services/correction/fix/import_library_show_test.dart index e54adba2fd5..57b95ad91f5 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/import_library_show_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/import_library_show_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/inline_invocation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/inline_invocation_test.dart index bb8dc3769ce..c1562bae6cd 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/inline_invocation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/inline_invocation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/inline_typedef_test.dart b/pkg/analysis_server/test/src/services/correction/fix/inline_typedef_test.dart index 39d4fdbdf12..ff111968fa8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/inline_typedef_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/inline_typedef_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/insert_semicolon_test.dart b/pkg/analysis_server/test/src/services/correction/fix/insert_semicolon_test.dart index 937ff59a50a..142526077c3 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/insert_semicolon_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/insert_semicolon_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/make_class_abstract_test.dart b/pkg/analysis_server/test/src/services/correction/fix/make_class_abstract_test.dart index f5927f9e200..a9d04c60a28 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/make_class_abstract_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/make_class_abstract_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/make_field_not_final_test.dart b/pkg/analysis_server/test/src/services/correction/fix/make_field_not_final_test.dart index 941643a3fd7..c36b65d41ab 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/make_field_not_final_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/make_field_not_final_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/make_final_test.dart b/pkg/analysis_server/test/src/services/correction/fix/make_final_test.dart index fbee41d6e2f..d0351121ca8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/make_final_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/make_final_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/make_return_type_nullable_test.dart b/pkg/analysis_server/test/src/services/correction/fix/make_return_type_nullable_test.dart index 7e976e76e6d..1e9cb8fbc10 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/make_return_type_nullable_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/make_return_type_nullable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/make_variable_not_final_test.dart b/pkg/analysis_server/test/src/services/correction/fix/make_variable_not_final_test.dart index c87fde3ec7c..cf9a788e445 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/make_variable_not_final_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/make_variable_not_final_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/make_variable_nullable_test.dart b/pkg/analysis_server/test/src/services/correction/fix/make_variable_nullable_test.dart index f619f6766c6..488331cfc21 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/make_variable_nullable_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/make_variable_nullable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/move_type_arguments_to_class_test.dart b/pkg/analysis_server/test/src/services/correction/fix/move_type_arguments_to_class_test.dart index c3b99ff9d77..6ff66bac848 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/move_type_arguments_to_class_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/move_type_arguments_to_class_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/organize_imports_test.dart b/pkg/analysis_server/test/src/services/correction/fix/organize_imports_test.dart index 941bdf42208..125a5d55bf9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/organize_imports_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/organize_imports_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/qualify_reference_test.dart b/pkg/analysis_server/test/src/services/correction/fix/qualify_reference_test.dart index 5c92c0874b9..e44250da172 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/qualify_reference_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/qualify_reference_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_annotation_test.dart index b693ead2a23..36be9f67b40 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_argument_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_argument_test.dart index cb1dc0091e9..c528f5bdd19 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_argument_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_argument_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_await_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_await_test.dart index 97d8bf85c7d..29c06742d72 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_await_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_await_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_comparison_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_comparison_test.dart index 54944068f87..9760894329c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_comparison_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_comparison_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_const_test.dart index 3f347cc39ef..7b6b0017748 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_dead_code_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_dead_code_test.dart index 3fd394ea84f..dd0e173ecdc 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_dead_code_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_dead_code_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_duplicate_case_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_duplicate_case_test.dart index 0d8a6b1f3d0..c6243fd986e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_duplicate_case_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_duplicate_case_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_catch_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_catch_test.dart index ff75a69c0c4..2321c2025ff 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_catch_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_catch_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_constructor_body_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_constructor_body_test.dart index 3f93785c3ef..51b93c39a32 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_constructor_body_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_constructor_body_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer/error/error.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_else_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_else_test.dart index b7521b3d637..db6fb4bfe40 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_else_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_else_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_statement_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_statement_test.dart index 0b28f0f055b..1622bea795e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_empty_statement_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_empty_statement_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_if_null_operator_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_if_null_operator_test.dart index 3f86e171869..c92d731ce49 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_if_null_operator_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_if_null_operator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_initializer_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_initializer_test.dart index 7127fbdb759..151ac345e66 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_initializer_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_initializer_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_interpolation_braces_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_interpolation_braces_test.dart index eaf6bc04220..76179a93a0b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_interpolation_braces_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_interpolation_braces_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_method_declaration_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_method_declaration_test.dart index d7d5d74f052..40b63e047ee 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_method_declaration_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_method_declaration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer/src/dart/analysis/experiments.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_name_from_combinator_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_name_from_combinator_test.dart index e8339106b53..92808968698 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_name_from_combinator_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_name_from_combinator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_non_null_assertion_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_non_null_assertion_test.dart index d66f1b893cd..643425b57bc 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_non_null_assertion_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_non_null_assertion_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_operator_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_operator_test.dart index 22aa7e5fc06..b71c545dda8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_operator_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_operator_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_parameters_in_getter_declaration_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_parameters_in_getter_declaration_test.dart index 8b96c684586..b4c746667da 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_parameters_in_getter_declaration_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_parameters_in_getter_declaration_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_parentheses_in_getter_invocation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_parentheses_in_getter_invocation_test.dart index 5f0d7e35ff5..203eae4101d 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_parentheses_in_getter_invocation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_parentheses_in_getter_invocation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_question_mark_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_question_mark_test.dart index 286b5d306c4..3fcd7f9e332 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_question_mark_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_question_mark_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_this_expression_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_this_expression_test.dart index aa1a13274af..6efe6539a43 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_this_expression_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_this_expression_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_type_annotation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_type_annotation_test.dart index d4c97abd1d9..c26fe04d638 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_type_annotation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_type_annotation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_type_arguments_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_type_arguments_test.dart index 62bf7e65591..e13eb0702ad 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_type_arguments_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_type_arguments_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_cast_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_cast_test.dart index 57bfd6cba96..ea8217bfada 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_cast_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_cast_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_const_test.dart index 1f1e6f2ea03..1969f3e202e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_new_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_new_test.dart index dc6b4436de8..ee1a000984c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_new_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_new_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_parentheses_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_parentheses_test.dart index 166007e5acb..f482d47bf4a 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_parentheses_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_parentheses_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_string_interpolation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_string_interpolation_test.dart index cd6a3c44e34..d849c0e2cb9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_string_interpolation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unnecessary_string_interpolation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_clause_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_clause_test.dart index d18763df35d..97e20b73b36 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_clause_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_clause_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_stack_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_stack_test.dart index 730f44e8b9b..4d484d61184 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_stack_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_catch_stack_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_element_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_element_test.dart index 154a433c9b8..9faaa3af4e1 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_element_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_element_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/error/error.dart'; import 'package:analyzer/src/error/codes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_field_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_field_test.dart index 8bf054c1961..e8419fd70ea 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_field_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_field_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_import_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_import_test.dart index 020945ae012..44953fc6e0c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_import_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_import_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_label_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_label_test.dart index df57ba12ea9..e5525f38713 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_label_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_label_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_local_variable_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_local_variable_test.dart index dac33f80af1..45e17e3e325 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_local_variable_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_local_variable_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_parameter_test.dart b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_parameter_test.dart index d32eb88ab92..d8e42b39800 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/remove_unused_parameter_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/remove_unused_parameter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/rename_to_camel_case_test.dart b/pkg/analysis_server/test/src/services/correction/fix/rename_to_camel_case_test.dart index 9ae1f64d99d..7fe7132408f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/rename_to_camel_case_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/rename_to_camel_case_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_boolean_with_bool_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_boolean_with_bool_test.dart index 2d35370cff3..6931abc6ae9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_boolean_with_bool_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_boolean_with_bool_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_cascade_with_dot_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_cascade_with_dot_test.dart index 8cf92ad882e..26a4c84cd40 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_cascade_with_dot_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_cascade_with_dot_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_colon_with_equals_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_colon_with_equals_test.dart index 852892b3c09..006166c046e 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_colon_with_equals_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_colon_with_equals_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_const_test.dart index e1ffdad2618..48552652996 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_var_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_var_test.dart index e13d52aa997..142e6a223d1 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_var_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_final_with_var_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_new_with_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_new_with_const_test.dart index a1607e5c4d9..5c1dd6506c6 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_new_with_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_new_with_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_null_with_closure_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_null_with_closure_test.dart index 8c6d3b36d9d..0588184fe7b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_null_with_closure_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_null_with_closure_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_return_type_future_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_return_type_future_test.dart index 0c42514ea07..273fff558ca 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_return_type_future_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_return_type_future_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_var_with_dynamic_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_var_with_dynamic_test.dart index 02b4eae8648..444cd2dac72 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_var_with_dynamic_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_var_with_dynamic_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/dart/error/syntactic_errors.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_brackets_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_brackets_test.dart index 21075fa5b5b..63fed72a55b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_brackets_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_brackets_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_conditional_assignment_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_conditional_assignment_test.dart index 8964e959b61..7a1dbb474b3 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_conditional_assignment_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_conditional_assignment_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_eight_digit_hex_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_eight_digit_hex_test.dart index bd4e2e14553..9ec352912e1 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_eight_digit_hex_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_eight_digit_hex_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_extension_name_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_extension_name_test.dart index 0bf4a84a042..8d70db98bed 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_extension_name_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_extension_name_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_filled_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_filled_test.dart index cdfb2bc235e..d719d362c7c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_filled_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_filled_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_identifier_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_identifier_test.dart index ce9487a8653..99f975873a9 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_identifier_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_identifier_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_interpolation_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_interpolation_test.dart index 0a2539b31cc..4a552ee6111 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_interpolation_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_interpolation_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_empty_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_empty_test.dart index ebff731a59d..345ba29b20f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_empty_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_empty_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_not_empty_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_not_empty_test.dart index b7bdd7149e6..57827f32758 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_not_empty_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_is_not_empty_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_not_null_aware_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_not_null_aware_test.dart index ccbc1cff4fa..cdce1b0586f 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_not_null_aware_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_not_null_aware_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_null_aware_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_null_aware_test.dart index 226c4f7bee4..05c60acd535 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_null_aware_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_null_aware_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_tear_off_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_tear_off_test.dart index 772ecd7113a..793d62575c3 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_tear_off_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_tear_off_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/replace_with_var_test.dart b/pkg/analysis_server/test/src/services/correction/fix/replace_with_var_test.dart index 422034efa07..3b57554c23b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/replace_with_var_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/replace_with_var_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/sort_child_property_last_test.dart b/pkg/analysis_server/test/src/services/correction/fix/sort_child_property_last_test.dart index 686d8f24a82..7c46f06caba 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/sort_child_property_last_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/sort_child_property_last_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/test_all.dart b/pkg/analysis_server/test/src/services/correction/fix/test_all.dart index 570d7a82551..8d78b424546 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'add_async_test.dart' as add_async; diff --git a/pkg/analysis_server/test/src/services/correction/fix/update_sdk_constraints_test.dart b/pkg/analysis_server/test/src/services/correction/fix/update_sdk_constraints_test.dart index d6f6cf6c586..416be5639a4 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/update_sdk_constraints_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/update_sdk_constraints_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/dart/analysis/experiments.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/use_const_test.dart b/pkg/analysis_server/test/src/services/correction/fix/use_const_test.dart index 62e0701211c..3476b672d72 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/use_const_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/use_const_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/use_effective_integer_division_test.dart b/pkg/analysis_server/test/src/services/correction/fix/use_effective_integer_division_test.dart index d8a6c7894fe..5a861d54778 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/use_effective_integer_division_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/use_effective_integer_division_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/use_eq_eq_null_test.dart b/pkg/analysis_server/test/src/services/correction/fix/use_eq_eq_null_test.dart index 2e53d54f127..91739675525 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/use_eq_eq_null_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/use_eq_eq_null_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/use_is_not_empty_test.dart b/pkg/analysis_server/test/src/services/correction/fix/use_is_not_empty_test.dart index 04a82aca211..7142b2f87db 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/use_is_not_empty_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/use_is_not_empty_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/use_not_eq_null_test.dart b/pkg/analysis_server/test/src/services/correction/fix/use_not_eq_null_test.dart index fdd7d12456b..768232ffba8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/use_not_eq_null_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/use_not_eq_null_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer/src/error/codes.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/use_rethrow_test.dart b/pkg/analysis_server/test/src/services/correction/fix/use_rethrow_test.dart index 6d78eb0a244..1741227c21c 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/use_rethrow_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/use_rethrow_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/wrap_in_future_test.dart b/pkg/analysis_server/test/src/services/correction/fix/wrap_in_future_test.dart index b86e482d5d0..f7ff631ca2b 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/wrap_in_future_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/wrap_in_future_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analysis_server/src/services/linter/lint_names.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/fix/wrap_in_text_test.dart b/pkg/analysis_server/test/src/services/correction/fix/wrap_in_text_test.dart index bca0c26ca3a..60f9b0d21d8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/wrap_in_text_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/wrap_in_text_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix.dart'; import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/correction/test_all.dart b/pkg/analysis_server/test/src/services/correction/test_all.dart index abc5ddb43ce..96c3fa6e90e 100644 --- a/pkg/analysis_server/test/src/services/correction/test_all.dart +++ b/pkg/analysis_server/test/src/services/correction/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'assist/test_all.dart' as assist_all; diff --git a/pkg/analysis_server/test/src/services/flutter/constants.dart b/pkg/analysis_server/test/src/services/flutter/constants.dart index 3bf64d29280..1f38fd5d4b4 100644 --- a/pkg/analysis_server/test/src/services/flutter/constants.dart +++ b/pkg/analysis_server/test/src/services/flutter/constants.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + final alignmentEditor = ''' "editor": { "kind": "ENUM_LIKE", diff --git a/pkg/analysis_server/test/src/services/flutter/container_properties_test.dart b/pkg/analysis_server/test/src/services/flutter/container_properties_test.dart index a546043f182..28903bc6e83 100644 --- a/pkg/analysis_server/test/src/services/flutter/container_properties_test.dart +++ b/pkg/analysis_server/test/src/services/flutter/container_properties_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as protocol; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/flutter/test_all.dart b/pkg/analysis_server/test/src/services/flutter/test_all.dart index c35d7048501..e45512e6591 100644 --- a/pkg/analysis_server/test/src/services/flutter/test_all.dart +++ b/pkg/analysis_server/test/src/services/flutter/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'container_properties_test.dart' as container_properties; diff --git a/pkg/analysis_server/test/src/services/flutter/widget_description.dart b/pkg/analysis_server/test/src/services/flutter/widget_description.dart index 012b925c1c6..c4042ef527a 100644 --- a/pkg/analysis_server/test/src/services/flutter/widget_description.dart +++ b/pkg/analysis_server/test/src/services/flutter/widget_description.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/protocol/protocol_generated.dart' as protocol; diff --git a/pkg/analysis_server/test/src/services/flutter/widget_descriptions_test.dart b/pkg/analysis_server/test/src/services/flutter/widget_descriptions_test.dart index a29b9930a76..daf6593ff41 100644 --- a/pkg/analysis_server/test/src/services/flutter/widget_descriptions_test.dart +++ b/pkg/analysis_server/test/src/services/flutter/widget_descriptions_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/protocol/protocol_generated.dart' as protocol; import 'package:test/test.dart'; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/services/test_all.dart b/pkg/analysis_server/test/src/services/test_all.dart index e5d8aa05490..2c3be26c930 100644 --- a/pkg/analysis_server/test/src/services/test_all.dart +++ b/pkg/analysis_server/test/src/services/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion/test_all.dart' as completion; diff --git a/pkg/analysis_server/test/src/test_all.dart b/pkg/analysis_server/test/src/test_all.dart index 0cb76aaa085..ce38f77cce0 100644 --- a/pkg/analysis_server/test/src/test_all.dart +++ b/pkg/analysis_server/test/src/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'cider/test_all.dart' as cider; diff --git a/pkg/analysis_server/test/src/utilities/flutter_test.dart b/pkg/analysis_server/test/src/utilities/flutter_test.dart index cce042e2597..6f8b986c71b 100644 --- a/pkg/analysis_server/test/src/utilities/flutter_test.dart +++ b/pkg/analysis_server/test/src/utilities/flutter_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/utilities/flutter.dart'; import 'package:analyzer/dart/ast/ast.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/src/utilities/mock_packages.dart b/pkg/analysis_server/test/src/utilities/mock_packages.dart index e789d2e355b..714c50c7153 100644 --- a/pkg/analysis_server/test/src/utilities/mock_packages.dart +++ b/pkg/analysis_server/test/src/utilities/mock_packages.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/file_system/file_system.dart'; import 'package:analyzer/file_system/memory_file_system.dart'; import 'package:analyzer/file_system/physical_file_system.dart'; diff --git a/pkg/analysis_server/test/src/utilities/profiling_test.dart b/pkg/analysis_server/test/src/utilities/profiling_test.dart index 04855118c1d..51d515d84c4 100644 --- a/pkg/analysis_server/test/src/utilities/profiling_test.dart +++ b/pkg/analysis_server/test/src/utilities/profiling_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/src/utilities/profiling.dart'; diff --git a/pkg/analysis_server/test/src/utilities/strings_test.dart b/pkg/analysis_server/test/src/utilities/strings_test.dart index 6f068d4551d..37a424b48d4 100644 --- a/pkg/analysis_server/test/src/utilities/strings_test.dart +++ b/pkg/analysis_server/test/src/utilities/strings_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/utilities/strings.dart'; import 'package:test/test.dart' hide isEmpty; import 'package:test_reflective_loader/test_reflective_loader.dart'; diff --git a/pkg/analysis_server/test/src/utilities/test_all.dart b/pkg/analysis_server/test/src/utilities/test_all.dart index a9cd96ecc8d..5916dacc37b 100644 --- a/pkg/analysis_server/test/src/utilities/test_all.dart +++ b/pkg/analysis_server/test/src/utilities/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'flutter_test.dart' as flutter_test; diff --git a/pkg/analysis_server/test/stress/completion/completion.dart b/pkg/analysis_server/test/stress/completion/completion.dart index b2b30f5a885..2f5fee03006 100644 --- a/pkg/analysis_server/test/stress/completion/completion.dart +++ b/pkg/analysis_server/test/stress/completion/completion.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:args/args.dart'; diff --git a/pkg/analysis_server/test/stress/completion/completion_runner.dart b/pkg/analysis_server/test/stress/completion/completion_runner.dart index 7a1d6759364..0de508861eb 100644 --- a/pkg/analysis_server/test/stress/completion/completion_runner.dart +++ b/pkg/analysis_server/test/stress/completion/completion_runner.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/completion/completion_core.dart'; import 'package:analysis_server/src/services/completion/completion_performance.dart'; import 'package:analysis_server/src/services/completion/dart/completion_manager.dart'; diff --git a/pkg/analysis_server/test/stress/replay/operation.dart b/pkg/analysis_server/test/stress/replay/operation.dart index a83d8b8ee8c..8684ddcf62f 100644 --- a/pkg/analysis_server/test/stress/replay/operation.dart +++ b/pkg/analysis_server/test/stress/replay/operation.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Operations to be performed during the simulation. import '../utilities/server.dart'; diff --git a/pkg/analysis_server/test/stress/replay/replay.dart b/pkg/analysis_server/test/stress/replay/replay.dart index cc487bb3e14..b4ef02f830c 100644 --- a/pkg/analysis_server/test/stress/replay/replay.dart +++ b/pkg/analysis_server/test/stress/replay/replay.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A stress test for the analysis server. import 'dart:io'; import 'dart:math' as math; diff --git a/pkg/analysis_server/test/stress/utilities/git.dart b/pkg/analysis_server/test/stress/utilities/git.dart index 7993e44afa1..9386e05a155 100644 --- a/pkg/analysis_server/test/stress/utilities/git.dart +++ b/pkg/analysis_server/test/stress/utilities/git.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Support for interacting with a git repository. import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/test/stress/utilities/logger.dart b/pkg/analysis_server/test/stress/utilities/logger.dart index 00d99fbe329..5bb6e0e2399 100644 --- a/pkg/analysis_server/test/stress/utilities/logger.dart +++ b/pkg/analysis_server/test/stress/utilities/logger.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A utility class used to write logging information during a test. class Logger { /// The width of the field in which labels are printed. diff --git a/pkg/analysis_server/test/stress/utilities/server.dart b/pkg/analysis_server/test/stress/utilities/server.dart index 5e652d25744..635fb81a330 100644 --- a/pkg/analysis_server/test/stress/utilities/server.dart +++ b/pkg/analysis_server/test/stress/utilities/server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Support for interacting with an analysis server that is running in a /// separate process. import 'dart:async'; diff --git a/pkg/analysis_server/test/test_all.dart b/pkg/analysis_server/test/test_all.dart index eca22e075ad..a042a4fc3e0 100644 --- a/pkg/analysis_server/test/test_all.dart +++ b/pkg/analysis_server/test/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import '../tool/spec/check_all_test.dart' as check_spec; diff --git a/pkg/analysis_server/test/timing/completion/completion_simple.dart b/pkg/analysis_server/test/timing/completion/completion_simple.dart index 1c7b41dc5fb..c2ec8fd831d 100644 --- a/pkg/analysis_server/test/timing/completion/completion_simple.dart +++ b/pkg/analysis_server/test/timing/completion/completion_simple.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; diff --git a/pkg/analysis_server/test/timing/timing_framework.dart b/pkg/analysis_server/test/timing/timing_framework.dart index f7d6da1084d..712257ccfb7 100644 --- a/pkg/analysis_server/test/timing/timing_framework.dart +++ b/pkg/analysis_server/test/timing/timing_framework.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:async'; import 'dart:io'; import 'dart:math'; diff --git a/pkg/analysis_server/test/tool/completion_metrics/metrics_util_test.dart b/pkg/analysis_server/test/tool/completion_metrics/metrics_util_test.dart index 5da637c1574..9b0865df599 100644 --- a/pkg/analysis_server/test/tool/completion_metrics/metrics_util_test.dart +++ b/pkg/analysis_server/test/tool/completion_metrics/metrics_util_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import '../../../tool/code_completion/metrics_util.dart'; diff --git a/pkg/analysis_server/test/tool/completion_metrics/test_all.dart b/pkg/analysis_server/test/tool/completion_metrics/test_all.dart index 8ca30d96a48..2a7e8b3d716 100644 --- a/pkg/analysis_server/test/tool/completion_metrics/test_all.dart +++ b/pkg/analysis_server/test/tool/completion_metrics/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'metrics_util_test.dart' as metrics_util_test; diff --git a/pkg/analysis_server/test/tool/lsp_spec/dart_test.dart b/pkg/analysis_server/test/tool/lsp_spec/dart_test.dart index 7ead849f611..ea05eed9d76 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/dart_test.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/dart_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import '../../../tool/lsp_spec/typescript_parser.dart' as ast; diff --git a/pkg/analysis_server/test/tool/lsp_spec/generated_classes_test.dart b/pkg/analysis_server/test/tool/lsp_spec/generated_classes_test.dart index a506de99ef4..3b034df533b 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/generated_classes_test.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/generated_classes_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:analysis_server/lsp_protocol/protocol_special.dart'; import 'package:test/test.dart'; diff --git a/pkg/analysis_server/test/tool/lsp_spec/json_test.dart b/pkg/analysis_server/test/tool/lsp_spec/json_test.dart index 4e32945a5ef..e0b97207645 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/json_test.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/json_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; diff --git a/pkg/analysis_server/test/tool/lsp_spec/markdown_test.dart b/pkg/analysis_server/test/tool/lsp_spec/markdown_test.dart index bf968e7c340..6589b5087cd 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/markdown_test.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/markdown_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import '../../../tool/lsp_spec/markdown.dart'; diff --git a/pkg/analysis_server/test/tool/lsp_spec/matchers.dart b/pkg/analysis_server/test/tool/lsp_spec/matchers.dart index e5ed5075afc..8fa3f4f4815 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/matchers.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/matchers.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/lsp_protocol/protocol_generated.dart'; import 'package:matcher/matcher.dart'; diff --git a/pkg/analysis_server/test/tool/lsp_spec/test_all.dart b/pkg/analysis_server/test/tool/lsp_spec/test_all.dart index 07a4247df3d..0b98b692005 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/test_all.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'dart_test.dart' as dart_test; diff --git a/pkg/analysis_server/test/tool/lsp_spec/typescript_test.dart b/pkg/analysis_server/test/tool/lsp_spec/typescript_test.dart index b439e68abe5..3c69370acfd 100644 --- a/pkg/analysis_server/test/tool/lsp_spec/typescript_test.dart +++ b/pkg/analysis_server/test/tool/lsp_spec/typescript_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test/test.dart'; import '../../../tool/lsp_spec/typescript_parser.dart'; diff --git a/pkg/analysis_server/test/tool/test_all.dart b/pkg/analysis_server/test/tool/test_all.dart index 8d2910e0a26..4852a6420c2 100644 --- a/pkg/analysis_server/test/tool/test_all.dart +++ b/pkg/analysis_server/test/tool/test_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:test_reflective_loader/test_reflective_loader.dart'; import 'completion_metrics/test_all.dart' as completion_metrics; diff --git a/pkg/analysis_server/test/utils/test_instrumentation_service.dart b/pkg/analysis_server/test/utils/test_instrumentation_service.dart index f2718602a1e..5e8ed3edea5 100644 --- a/pkg/analysis_server/test/utils/test_instrumentation_service.dart +++ b/pkg/analysis_server/test/utils/test_instrumentation_service.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/exception/exception.dart'; import 'package:analyzer/instrumentation/service.dart'; diff --git a/pkg/analysis_server/test/utils/test_support.dart b/pkg/analysis_server/test/utils/test_support.dart index 811d8ce4278..eafda8238e4 100644 --- a/pkg/analysis_server/test/utils/test_support.dart +++ b/pkg/analysis_server/test/utils/test_support.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// These classes were copied from `analyzer`. They should be moved into the /// `analyzer/lib/src/test_utilities` directory so that they can be shared. /// (This version has been converted to a more modern style.) diff --git a/pkg/analysis_server/test/verify_sorted_test.dart b/pkg/analysis_server/test/verify_sorted_test.dart index 869d7023950..40dfb324148 100644 --- a/pkg/analysis_server/test/verify_sorted_test.dart +++ b/pkg/analysis_server/test/verify_sorted_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/sort_members.dart'; import 'package:analyzer/dart/analysis/analysis_context_collection.dart'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analysis_server/test/verify_tests_test.dart b/pkg/analysis_server/test/verify_tests_test.dart index 4b07a765637..5f62bd81fe3 100644 --- a/pkg/analysis_server/test/verify_tests_test.dart +++ b/pkg/analysis_server/test/verify_tests_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer/file_system/file_system.dart'; import 'package:analyzer/file_system/physical_file_system.dart'; import 'package:analyzer_utilities/package_root.dart' as package_root; diff --git a/pkg/analysis_server/tool/bulk_fix/supported_lints.dart b/pkg/analysis_server/tool/bulk_fix/supported_lints.dart index a9d40643bda..85a6eaecbd9 100644 --- a/pkg/analysis_server/tool/bulk_fix/supported_lints.dart +++ b/pkg/analysis_server/tool/bulk_fix/supported_lints.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/services/correction/fix_internal.dart'; /// Print lints that are bulk-fixable in a format that can be included in diff --git a/pkg/analysis_server/tool/code_completion/code_metrics.dart b/pkg/analysis_server/tool/code_completion/code_metrics.dart index 97510ff4365..43bf25b5899 100644 --- a/pkg/analysis_server/tool/code_completion/code_metrics.dart +++ b/pkg/analysis_server/tool/code_completion/code_metrics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' as io; import 'package:analyzer/dart/analysis/analysis_context_collection.dart'; diff --git a/pkg/analysis_server/tool/code_completion/completion_metrics.dart b/pkg/analysis_server/tool/code_completion/completion_metrics.dart index 147959510cd..d5b2d61e495 100644 --- a/pkg/analysis_server/tool/code_completion/completion_metrics.dart +++ b/pkg/analysis_server/tool/code_completion/completion_metrics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io' as io; import 'dart:math' as math; diff --git a/pkg/analysis_server/tool/code_completion/corpus.dart b/pkg/analysis_server/tool/code_completion/corpus.dart index 8f711d2fe0f..c8651ce9970 100644 --- a/pkg/analysis_server/tool/code_completion/corpus.dart +++ b/pkg/analysis_server/tool/code_completion/corpus.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io'; diff --git a/pkg/analysis_server/tool/code_completion/flutter_metrics.dart b/pkg/analysis_server/tool/code_completion/flutter_metrics.dart index 74cc1539ace..fb211d00cea 100644 --- a/pkg/analysis_server/tool/code_completion/flutter_metrics.dart +++ b/pkg/analysis_server/tool/code_completion/flutter_metrics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' as io; import 'package:analysis_server/src/utilities/flutter.dart'; diff --git a/pkg/analysis_server/tool/code_completion/implicit_type_declarations.dart b/pkg/analysis_server/tool/code_completion/implicit_type_declarations.dart index 056ff2ebb2b..3204eebb00f 100644 --- a/pkg/analysis_server/tool/code_completion/implicit_type_declarations.dart +++ b/pkg/analysis_server/tool/code_completion/implicit_type_declarations.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' as io; import 'package:analysis_server/src/status/pages.dart'; diff --git a/pkg/analysis_server/tool/code_completion/metrics_util.dart b/pkg/analysis_server/tool/code_completion/metrics_util.dart index f5c385e1cab..47671f0241a 100644 --- a/pkg/analysis_server/tool/code_completion/metrics_util.dart +++ b/pkg/analysis_server/tool/code_completion/metrics_util.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/status/pages.dart'; import 'package:analyzer/src/generated/utilities_general.dart'; diff --git a/pkg/analysis_server/tool/code_completion/output_utilities.dart b/pkg/analysis_server/tool/code_completion/output_utilities.dart index 8f7e0962d38..483ba388257 100644 --- a/pkg/analysis_server/tool/code_completion/output_utilities.dart +++ b/pkg/analysis_server/tool/code_completion/output_utilities.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; /// Print the given [table]. diff --git a/pkg/analysis_server/tool/code_completion/relevance_metrics.dart b/pkg/analysis_server/tool/code_completion/relevance_metrics.dart index c4a63982ad5..547bea6859f 100644 --- a/pkg/analysis_server/tool/code_completion/relevance_metrics.dart +++ b/pkg/analysis_server/tool/code_completion/relevance_metrics.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' as io; import 'dart:math' as math; diff --git a/pkg/analysis_server/tool/code_completion/relevance_table_generator.dart b/pkg/analysis_server/tool/code_completion/relevance_table_generator.dart index 60a3f5bf607..856594d769b 100644 --- a/pkg/analysis_server/tool/code_completion/relevance_table_generator.dart +++ b/pkg/analysis_server/tool/code_completion/relevance_table_generator.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'dart:io' as io; @@ -1592,6 +1594,8 @@ Map> keywordRelevance = // Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. + +// @dart = 2.9 // // This file has been automatically generated. Please do not edit it manually. // To regenerate the file, use the script diff --git a/pkg/analysis_server/tool/code_completion/visitors.dart b/pkg/analysis_server/tool/code_completion/visitors.dart index 69d68eb9268..a4abe608864 100644 --- a/pkg/analysis_server/tool/code_completion/visitors.dart +++ b/pkg/analysis_server/tool/code_completion/visitors.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analysis_server/src/protocol/protocol_internal.dart'; import 'package:analysis_server/src/protocol_server.dart' as protocol; import 'package:analysis_server/src/services/completion/dart/keyword_contributor.dart'; diff --git a/pkg/analysis_server/tool/instrumentation/log/log.dart b/pkg/analysis_server/tool/instrumentation/log/log.dart index f5663a00afd..ea4968d091b 100644 --- a/pkg/analysis_server/tool/instrumentation/log/log.dart +++ b/pkg/analysis_server/tool/instrumentation/log/log.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// A representation of the contents of an instrumentation log. import 'dart:convert'; import 'dart:math' as math; diff --git a/pkg/analysis_server/tool/instrumentation/log_viewer.dart b/pkg/analysis_server/tool/instrumentation/log_viewer.dart index aab01906e55..722f1487937 100644 --- a/pkg/analysis_server/tool/instrumentation/log_viewer.dart +++ b/pkg/analysis_server/tool/instrumentation/log_viewer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io' as io; import 'package:args/args.dart'; diff --git a/pkg/analysis_server/tool/instrumentation/page/log_page.dart b/pkg/analysis_server/tool/instrumentation/page/log_page.dart index 27a6b654cb1..67c7ded66b5 100644 --- a/pkg/analysis_server/tool/instrumentation/page/log_page.dart +++ b/pkg/analysis_server/tool/instrumentation/page/log_page.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math' as math; import '../log/log.dart'; diff --git a/pkg/analysis_server/tool/instrumentation/page/page_writer.dart b/pkg/analysis_server/tool/instrumentation/page/page_writer.dart index c70e0bea89d..17658dc7e62 100644 --- a/pkg/analysis_server/tool/instrumentation/page/page_writer.dart +++ b/pkg/analysis_server/tool/instrumentation/page/page_writer.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import '../log/log.dart'; diff --git a/pkg/analysis_server/tool/instrumentation/page/stats_page.dart b/pkg/analysis_server/tool/instrumentation/page/stats_page.dart index e218583f212..7ad8f5b5af4 100644 --- a/pkg/analysis_server/tool/instrumentation/page/stats_page.dart +++ b/pkg/analysis_server/tool/instrumentation/page/stats_page.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import '../log/log.dart'; import 'page_writer.dart'; diff --git a/pkg/analysis_server/tool/instrumentation/server.dart b/pkg/analysis_server/tool/instrumentation/server.dart index 150eb9ea5a5..72757cc853b 100644 --- a/pkg/analysis_server/tool/instrumentation/server.dart +++ b/pkg/analysis_server/tool/instrumentation/server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:collection'; import 'dart:io'; diff --git a/pkg/analysis_server/tool/lsp_spec/codegen_dart.dart b/pkg/analysis_server/tool/lsp_spec/codegen_dart.dart index d697810ac08..9c7e2b3073b 100644 --- a/pkg/analysis_server/tool/lsp_spec/codegen_dart.dart +++ b/pkg/analysis_server/tool/lsp_spec/codegen_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:dart_style/dart_style.dart'; import 'package:meta/meta.dart'; diff --git a/pkg/analysis_server/tool/lsp_spec/generate_all.dart b/pkg/analysis_server/tool/lsp_spec/generate_all.dart index a45cba03207..24084c86045 100644 --- a/pkg/analysis_server/tool/lsp_spec/generate_all.dart +++ b/pkg/analysis_server/tool/lsp_spec/generate_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analysis_server/src/utilities/strings.dart'; @@ -155,6 +157,8 @@ String generatedFileHeader(int year, {bool importCustom = false}) => ''' // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + // This file has been automatically generated. Please do not edit it manually. // To regenerate the file, use the script // "pkg/analysis_server/tool/lsp_spec/generate_all.dart". diff --git a/pkg/analysis_server/tool/lsp_spec/markdown.dart b/pkg/analysis_server/tool/lsp_spec/markdown.dart index fa9d47be284..70582e0bd08 100644 --- a/pkg/analysis_server/tool/lsp_spec/markdown.dart +++ b/pkg/analysis_server/tool/lsp_spec/markdown.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + final _methodNamesPattern = RegExp( r'''_(?:Notification|Request):?_:?(?:\r?\n)+\* method: ['`](.*?)[`'],?\r?\n''', multiLine: true); diff --git a/pkg/analysis_server/tool/lsp_spec/typescript.dart b/pkg/analysis_server/tool/lsp_spec/typescript.dart index 801b093062d..da5894466cc 100644 --- a/pkg/analysis_server/tool/lsp_spec/typescript.dart +++ b/pkg/analysis_server/tool/lsp_spec/typescript.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'typescript_parser.dart'; /// Removes types that are in the spec that we don't want in other signatures. diff --git a/pkg/analysis_server/tool/lsp_spec/typescript_parser.dart b/pkg/analysis_server/tool/lsp_spec/typescript_parser.dart index c657cab77b4..b18b819b8be 100644 --- a/pkg/analysis_server/tool/lsp_spec/typescript_parser.dart +++ b/pkg/analysis_server/tool/lsp_spec/typescript_parser.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:math'; import 'package:analysis_server/src/utilities/strings.dart' show capitalize; diff --git a/pkg/analysis_server/tool/migration_runner.dart b/pkg/analysis_server/tool/migration_runner.dart index 1edcefaa902..355040f7dcf 100644 --- a/pkg/analysis_server/tool/migration_runner.dart +++ b/pkg/analysis_server/tool/migration_runner.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// This executable provides the ability to run the migration tool in process /// on a single package. It should be invoked with two command-line arguments: /// a path to a configuration file and the name of a package to migrate. diff --git a/pkg/analysis_server/tool/spec/api.dart b/pkg/analysis_server/tool/spec/api.dart index 9619513a5b6..fd40a3bef4b 100644 --- a/pkg/analysis_server/tool/spec/api.dart +++ b/pkg/analysis_server/tool/spec/api.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Data structures representing an API definition, and visitor base classes /// for visiting those data structures. import 'dart:collection'; diff --git a/pkg/analysis_server/tool/spec/check_all_test.dart b/pkg/analysis_server/tool/spec/check_all_test.dart index 3be8ed79b5a..14ede1cd214 100644 --- a/pkg/analysis_server/tool/spec/check_all_test.dart +++ b/pkg/analysis_server/tool/spec/check_all_test.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analyzer_utilities/tools.dart'; diff --git a/pkg/analysis_server/tool/spec/codegen_analysis_server.dart b/pkg/analysis_server/tool/spec/codegen_analysis_server.dart index 9e19fb62656..a41e9ad7747 100644 --- a/pkg/analysis_server/tool/spec/codegen_analysis_server.dart +++ b/pkg/analysis_server/tool/spec/codegen_analysis_server.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code generation for the file "AnalysisServer.java". import 'package:analyzer_utilities/tools.dart'; diff --git a/pkg/analysis_server/tool/spec/codegen_dart.dart b/pkg/analysis_server/tool/spec/codegen_dart.dart index 9dacf9941f1..bc6eeccfa9a 100644 --- a/pkg/analysis_server/tool/spec/codegen_dart.dart +++ b/pkg/analysis_server/tool/spec/codegen_dart.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'api.dart'; /// Visitor specialized for generating Dart code. diff --git a/pkg/analysis_server/tool/spec/codegen_dart_notification_handler.dart b/pkg/analysis_server/tool/spec/codegen_dart_notification_handler.dart index 65515efd1d1..ab39e33323d 100644 --- a/pkg/analysis_server/tool/spec/codegen_dart_notification_handler.dart +++ b/pkg/analysis_server/tool/spec/codegen_dart_notification_handler.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_utilities/tools.dart'; import 'package:html/dom.dart'; @@ -110,6 +112,8 @@ mixin NotificationHandler { void visitApi() { outputHeader(year: '2018'); writeln(); + writeln('// @dart = 2.9'); + writeln(); emitImports(); emitNotificationHandler(); } diff --git a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart index 2acef5761e5..32320825bcf 100644 --- a/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart +++ b/pkg/analysis_server/tool/spec/codegen_dart_protocol.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:convert'; import 'package:analyzer_utilities/tools.dart'; @@ -1120,6 +1122,8 @@ class CodegenProtocolVisitor extends DartCodegenVisitor with CodeGenerator { void visitApi() { outputHeader(year: '2017'); writeln(); + writeln('// @dart = 2.9'); + writeln(); emitImports(); emitClasses(getClassesToEmit()); } diff --git a/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart b/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart index 208e0a049e4..56d4405ba7a 100644 --- a/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart +++ b/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code generation for the file "integration_test_methods.dart". import 'package:analyzer_utilities/tools.dart'; import 'package:path/path.dart' as path; @@ -84,6 +86,8 @@ class CodegenInttestMethodsVisitor extends DartCodegenVisitor void visitApi() { outputHeader(year: '2017'); writeln(); + writeln('// @dart = 2.9'); + writeln(); writeln('/// Convenience methods for running integration tests.'); writeln("import 'dart:async';"); writeln(); diff --git a/pkg/analysis_server/tool/spec/codegen_java.dart b/pkg/analysis_server/tool/spec/codegen_java.dart index 341e4e1038a..ea62d4a295a 100644 --- a/pkg/analysis_server/tool/spec/codegen_java.dart +++ b/pkg/analysis_server/tool/spec/codegen_java.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Tools for Java code generation. import 'package:analyzer_utilities/tools.dart'; import 'package:html/dom.dart' as dom; diff --git a/pkg/analysis_server/tool/spec/codegen_java_types.dart b/pkg/analysis_server/tool/spec/codegen_java_types.dart index a59a7884b7b..8b2d4719b19 100644 --- a/pkg/analysis_server/tool/spec/codegen_java_types.dart +++ b/pkg/analysis_server/tool/spec/codegen_java_types.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code generation for the file "AnalysisServer.java". import 'package:analyzer_utilities/tools.dart'; import 'package:html/dom.dart' as dom; diff --git a/pkg/analysis_server/tool/spec/codegen_matchers.dart b/pkg/analysis_server/tool/spec/codegen_matchers.dart index 2e539753103..9d7afb02faa 100644 --- a/pkg/analysis_server/tool/spec/codegen_matchers.dart +++ b/pkg/analysis_server/tool/spec/codegen_matchers.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code generation for the file "matchers.dart". import 'package:analyzer_utilities/tools.dart'; @@ -89,6 +91,8 @@ class CodegenMatchersVisitor extends HierarchicalApiVisitor with CodeGenerator { void visitApi() { outputHeader(year: '2017'); writeln(); + writeln('// @dart = 2.9'); + writeln(); writeln('/// Matchers for data types defined in the analysis server API.'); writeln("import 'package:test/test.dart';"); writeln(); diff --git a/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart b/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart index 511f2609b80..023562b6c2b 100644 --- a/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart +++ b/pkg/analysis_server/tool/spec/codegen_protocol_constants.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'package:analyzer_utilities/tools.dart'; import 'api.dart'; @@ -88,6 +90,8 @@ class CodegenVisitor extends DartCodegenVisitor with CodeGenerator { void visitApi() { outputHeader(year: '2017'); writeln(); + writeln('// @dart = 2.9'); + writeln(); generateConstants(); } } diff --git a/pkg/analysis_server/tool/spec/from_html.dart b/pkg/analysis_server/tool/spec/from_html.dart index 237a6a743fa..de97dc7d8c4 100644 --- a/pkg/analysis_server/tool/spec/from_html.dart +++ b/pkg/analysis_server/tool/spec/from_html.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code for reading an HTML API description. import 'dart:io'; diff --git a/pkg/analysis_server/tool/spec/generate_all.dart b/pkg/analysis_server/tool/spec/generate_all.dart index 20840ce27ca..30fb5f307cd 100644 --- a/pkg/analysis_server/tool/spec/generate_all.dart +++ b/pkg/analysis_server/tool/spec/generate_all.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + import 'dart:io'; import 'package:analyzer_utilities/tools.dart'; diff --git a/pkg/analysis_server/tool/spec/implied_types.dart b/pkg/analysis_server/tool/spec/implied_types.dart index fb67058c22e..521485c02e8 100644 --- a/pkg/analysis_server/tool/spec/implied_types.dart +++ b/pkg/analysis_server/tool/spec/implied_types.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code for enumerating the set of types implied by the API. import 'package:analyzer_utilities/tools.dart'; diff --git a/pkg/analysis_server/tool/spec/to_html.dart b/pkg/analysis_server/tool/spec/to_html.dart index 35768e6c243..3d13b63507e 100644 --- a/pkg/analysis_server/tool/spec/to_html.dart +++ b/pkg/analysis_server/tool/spec/to_html.dart @@ -2,6 +2,8 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +// @dart = 2.9 + /// Code for displaying the API as HTML. This is used both for generating a /// full description of the API as a web page, and for generating doc comments /// in generated code. diff --git a/pkg/analysis_server_client/lib/handler/notification_handler.dart b/pkg/analysis_server_client/lib/handler/notification_handler.dart index 2d8715a87b5..c91a78ced77 100644 --- a/pkg/analysis_server_client/lib/handler/notification_handler.dart +++ b/pkg/analysis_server_client/lib/handler/notification_handler.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + import 'package:analysis_server_client/protocol.dart'; /// [NotificationHandler] processes analysis server notifications diff --git a/pkg/analysis_server_client/lib/src/protocol/protocol_constants.dart b/pkg/analysis_server_client/lib/src/protocol/protocol_constants.dart index 6772e9dc901..654d974086d 100644 --- a/pkg/analysis_server_client/lib/src/protocol/protocol_constants.dart +++ b/pkg/analysis_server_client/lib/src/protocol/protocol_constants.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + const String PROTOCOL_VERSION = '1.32.5'; const String ANALYSIS_NOTIFICATION_ANALYZED_FILES = 'analysis.analyzedFiles'; diff --git a/pkg/analysis_server_client/lib/src/protocol/protocol_generated.dart b/pkg/analysis_server_client/lib/src/protocol/protocol_generated.dart index e5dd041d4f0..5b5a5ef14c7 100644 --- a/pkg/analysis_server_client/lib/src/protocol/protocol_generated.dart +++ b/pkg/analysis_server_client/lib/src/protocol/protocol_generated.dart @@ -6,6 +6,8 @@ // To regenerate the file, use the script // "pkg/analysis_server/tool/spec/generate_files". +// @dart = 2.9 + import 'dart:convert' hide JsonDecoder; import 'package:analysis_server_client/src/protocol/protocol_base.dart';