From baba31e83878cb9d0e495ce82afa334a8812ba52 Mon Sep 17 00:00:00 2001 From: Siva Date: Thu, 29 Oct 2020 17:07:35 -0700 Subject: [PATCH] Manual Roll of Dart to ba80ed989cc...9c6e76468ca (#22213) * Manual Roll of Dart from ba80ed989c...9c6e76468c dart-lang/sdk@ba80ed989cc Version 2.11.0-277.0.dev dart-lang/sdk@619e388a1d8 Breaking changes for analyzer version 0.41. dart-lang/sdk@e46c31c24c5 Version 2.11.0-276.0.dev dart-lang/sdk@13704520a0c [cfe] Indicate nullability as assignability issue when appropriate dart-lang/sdk@33b7f1425e0 Migration: remove unreachable `break` statements dart-lang/sdk@68fe2649f38 Migration: remove 2 pixel offset from CSS for `.region.informative-region`. dart-lang/sdk@f506071e34f Add DartType.alias{Element,Arguments} and class TypeAliasElement dart-lang/sdk@5b2f57d3655 Fix changelog dart-lang/sdk@d459f2244a5 Enable non-function type alias tests for CFE based tools dart-lang/sdk@5ac5b710ee8 Migration --apply-changes implies --no-web-preview dart-lang/sdk@8abf6c67adc Add test of potentially constant scopes. dart-lang/sdk@146423c02d7 Version 2.11.0-275.0.dev dart-lang/sdk@d38b366eb66 Add quick fix to remove unnecessary null-aware assignments dart-lang/sdk@1a56b8e7ebc Version 2.11.0-274.0.dev dart-lang/sdk@d5118d5fc83 Reland "[ Service / dart:isolate ] Added getPorts RPC and 'debugName' optional" dart-lang/sdk@2672eb34f65 Add Flutter plugins to the list of allowed null safety experiments dart-lang/sdk@30d13109e71 Error on all ignored command line arguments with a named config. dart-lang/sdk@a983155d44e [vm/ffi] Remove bytecode mode only runtime entries dart-lang/sdk@5f5c0ec0256 Version 2.11.0-273.0.dev dart-lang/sdk@3c5d1d25755 fix nodes for path error reporting dart-lang/sdk@0128ffa6d1b Add most of the remaining parser diagnostics to the data file parser dart-lang/sdk@91be377fdaa [io/ssl] Avoid redundant handshake call that can break ongoing handshake try-retry sequence. dart-lang/sdk@774e18d14ad Issue 43925. Set the enclosing class for completion. dart-lang/sdk@061848e97e0 Cleanup misc remaining references to bytecode dart-lang/sdk@bc01cb740ad [vm] Don't assume fields are already canonical when canonicalizing closures. dart-lang/sdk@2fd4b4f5628 [dart2js, ddc] Emit native null checks in sound mode only dart-lang/sdk@8b68bb4191c Revert "Revert "[ddc] Move native null-checks to definitions"" dart-lang/sdk@d4c03fbc1b2 [ddc] Add more descriptive error for native null assertions dart-lang/sdk@312a572ade0 [vm/ffi] Fix prepare_flutter_bundle.dart dart-lang/sdk@31c065ef4ce Change frontend server expression evaluation tests to use strong ddc platform sdk dart-lang/sdk@2fafb4061fe Remove LibrariesLog, we don't use it anymore. dart-lang/sdk@2653b851d33 Version 2.11.0-272.0.dev dart-lang/sdk@e5dfd384041 check for invalid git and path deps in publishable packages dart-lang/sdk@f8fdb4be05e Remove return type from addSource(). dart-lang/sdk@7588ed86dee Remove bytecode mode from the VM dart-lang/sdk@c877d5bf3ec [pkg/vm_service] remove three deprecation warnings dart-lang/sdk@2eef1aa1ad5 Prepare analyzer_cli/ tests for turning Null Safety on by default. dart-lang/sdk@80f0976e02b [pkg/nnbd_migration] mark package:nnbd_migration as not publishable dart-lang/sdk@1958d61b022 Issue 43929. Report HintCode.DEPRECATED_MEMBER_USE for Null Safe from Legacy, refactoring. dart-lang/sdk@68c50f7f92d Migration: re-work test_informationalRegion_containsTraceLinks_separateDrive. dart-lang/sdk@ee740fae4aa [dart2js] Inference of List.generate elements dart-lang/sdk@c3ddc5c374f [vm/concurrency] Add EventLoopLatencyJson350KB bechmark dart-lang/sdk@5851f8bc0c3 [Analyzer] Add a fix for unnecessary_non_null_assertion dart-lang/sdk@e38d42fc7dc [android] Switch to Flutter Android tooling dart-lang/sdk@ed009afc4cb [package:js] Add static errors for invalid extends dart-lang/sdk@2e99e593699 Fix integration tests for analyzer/ and analysis_server/ in preparation for Null Safety turned on. dart-lang/sdk@91815705131 Migration: Work around null reference exception with complex type parameters. dart-lang/sdk@a777d2b7984 Sort declarations in api_test.dart dart-lang/sdk@a99904a45a7 [vm/nnbd] Explicitly opt-out test helper scripts from null safety to prepare for NNBD turned on dart-lang/sdk@77a0daeda9d Update to latest package:collection dart-lang/sdk@f78c40e32a5 Revert "Reland "[ Service / dart:isolate ] Added getPorts RPC and 'debugName' optional"" dart-lang/sdk@5a3e7bf18fe [Dart CLI] Refactor analytics dart-lang/sdk@7a87580ec49 [vm] Avoid racy access to SafepointRwLock::reader_ids_ dart-lang/sdk@e5184d71b76 Version 2.11.0-271.0.dev dart-lang/sdk@7d764a6b3ab Get the observatory tests correctly opting out of sound null safety. dart-lang/sdk@38e34147481 analyzer_plugin: Prepare tests for Null safety flag flip. dart-lang/sdk@e9bf10bda0c Version 2.11.0-270.0.dev dart-lang/sdk@56947222cca Fixes for analysis_server/ tests for Windows. dart-lang/sdk@7a60fd3fd25 Fix Glob creation, PubspecValidator dependencyPath. dart-lang/sdk@a5d45118476 Reland "[ Service / dart:isolate ] Added getPorts RPC and 'debugName' optional" dart-lang/sdk@6360dcbecbe Version 2.11.0-269.0.dev dart-lang/sdk@14e4d5fb480 [Tests] - Explicitly opt out vm/dart_2/splay_test.dart dart-lang/sdk@20b8b1c0cf2 [vm/concurrency] Introduce a read lock acquisition of program_lock. dart-lang/sdk@76118806bdc [dart:io / Service] Rename State class to _State to avoid class name conflicts with Flutter dart-lang/sdk@e2cc75e847a Fix the offset used when reporting errors inside of string literals dart-lang/sdk@29c7474845d Add a test for accessing type arguments dart-lang/sdk@297fb8606a7 Un-hide the dart migrate command from stable. dart-lang/sdk@dac61ff8794 Remove a message for pre-nnbd sdks. dart-lang/sdk@05af48a5dfa Version 2.11.0-268.0.dev dart-lang/sdk@a074c793b84 Rename to resolveTestCode() and resolveTestFile(). dart-lang/sdk@47a2ab28666 Prepare to publish analyzer 0.40.5 and _fe_analyzer_shared 12.0.0. dart-lang/sdk@af8413d8e92 [vm/concurrency] Add write lock acquisiton when updating Class direct_subclasses. dart-lang/sdk@4f630a9a162 [typed_data] Remove specific Errors from docs dart-lang/sdk@d9d7324b272 Issue 43777. Update analysis_server/ tests to run when Null Safety is enabled by default in 2.12 dart-lang/sdk@3e856b8ace6 [vm/concurrency] Allow concurrent access to invocation dispatcher cache dart-lang/sdk@e8ff7f9d294 Version 2.11.0-267.0.dev dart-lang/sdk@c45d52b62aa Rework the parser to parse code fragments rather than value generators dart-lang/sdk@34cedb980c9 [kernel] Make Procedure.kind final dart-lang/sdk@50d36afc34e [release] Add release notes for 2.10.3 dart-lang/sdk@2928af2b123 [kernel] Remove unused Class.level, ClassLevel enum and shift Library.flags down dart-lang/sdk@ff60518cada [kernel] Remove getChildFromMember from CanonicalName dart-lang/sdk@741bb5ec4ee [kernel] Change library nnbd bit encoding slightly dart-lang/sdk@ae5fc78992a [kernel] Remove 'addMember' * Adjust comment. --- DEPS | 4 +- ci/licenses_golden/licenses_third_party | 95 +++++++++++-------------- lib/web_ui/lib/src/engine/window.dart | 1 + 3 files changed, 44 insertions(+), 56 deletions(-) diff --git a/DEPS b/DEPS index d2a33a7cf..71ef850fe 100644 --- a/DEPS +++ b/DEPS @@ -34,7 +34,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS. # You can use //tools/dart/create_updated_flutter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': '9c6e76468ca4b7886f0477af69b6fd0fb610b2e8', + 'dart_revision': 'ba80ed989cc94e266bf3939b9c3422d564227b0f', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py @@ -42,7 +42,7 @@ vars = { 'dart_boringssl_gen_rev': '429ccb1877f7987a6f3988228bc2440e61293499', 'dart_boringssl_rev': '4dfd5af70191b068aebe567b8e29ce108cee85ce', 'dart_clock_rev': 'a494269254ba978e7ef8f192c5f7fec3fc05b9d3', - 'dart_collection_rev': '60e6ee2228586980826b07ec1df633bd879f42ea', + 'dart_collection_rev': 'e4bb038ce2d8e66fb15818aa40685c68d53692ab', 'dart_dart_style_tag': '1.3.8', 'dart_http_retry_tag': '0.1.1', 'dart_http_throttle_tag': '1.0.2', diff --git a/ci/licenses_golden/licenses_third_party b/ci/licenses_golden/licenses_third_party index ca9b13f39..78a4a502b 100644 --- a/ci/licenses_golden/licenses_third_party +++ b/ci/licenses_golden/licenses_third_party @@ -1,4 +1,4 @@ -Signature: df32ba1b81ccb800b01c3d2bf007a2a8 +Signature: c7b3b09f8e57e8e336788e790a01ba6f UNUSED LICENSES: @@ -8280,8 +8280,6 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/backend/slot_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/backend/type_propagator_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/backend/typed_data_aot_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/backend/yield_position_test.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_fingerprints.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_fingerprints.h FILE: ../../../third_party/dart/runtime/vm/compiler/graph_intrinsifier.cc FILE: ../../../third_party/dart/runtime/vm/compiler/graph_intrinsifier.h FILE: ../../../third_party/dart/runtime/vm/compiler/graph_intrinsifier_arm.cc @@ -8306,9 +8304,7 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/type_testing_stubs_x64.cc FILE: ../../../third_party/dart/runtime/vm/constants_arm.cc FILE: ../../../third_party/dart/runtime/vm/constants_arm64.cc FILE: ../../../third_party/dart/runtime/vm/constants_ia32.cc -FILE: ../../../third_party/dart/runtime/vm/constants_kbc.cc FILE: ../../../third_party/dart/runtime/vm/constants_x64.cc -FILE: ../../../third_party/dart/runtime/vm/debugger_kbc.cc FILE: ../../../third_party/dart/runtime/vm/elf.cc FILE: ../../../third_party/dart/runtime/vm/elf.h FILE: ../../../third_party/dart/runtime/vm/ffi_callback_trampolines.cc @@ -8406,6 +8402,12 @@ FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson/dart/latency.dar FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson/dart2/EventLoopLatencyJson.dart FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson/dart2/json_benchmark.dart FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson/dart2/latency.dart +FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson350KB/dart/EventLoopLatencyJson350KB.dart +FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson350KB/dart/json_benchmark.dart +FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson350KB/dart/latency.dart +FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson350KB/dart2/EventLoopLatencyJson350KB.dart +FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson350KB/dart2/json_benchmark.dart +FILE: ../../../third_party/dart/benchmarks/EventLoopLatencyJson350KB/dart2/latency.dart FILE: ../../../third_party/dart/benchmarks/ListCopy/dart/ListCopy.dart FILE: ../../../third_party/dart/benchmarks/ListCopy/dart2/ListCopy.dart FILE: ../../../third_party/dart/benchmarks/MD5/dart/md5.dart @@ -9384,9 +9386,6 @@ FILE: ../../../third_party/dart/runtime/tools/dartfuzz/dartfuzz_test.dart FILE: ../../../third_party/dart/runtime/vm/base64.cc FILE: ../../../third_party/dart/runtime/vm/base64.h FILE: ../../../third_party/dart/runtime/vm/base64_test.cc -FILE: ../../../third_party/dart/runtime/vm/code_patcher_kbc.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/assembler/disassembler_kbc.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/assembler/disassembler_kbc.h FILE: ../../../third_party/dart/runtime/vm/compiler/backend/code_statistics.cc FILE: ../../../third_party/dart/runtime/vm/compiler/backend/code_statistics.h FILE: ../../../third_party/dart/runtime/vm/compiler/backend/compile_type.h @@ -9402,11 +9401,6 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/compiler_state.cc FILE: ../../../third_party/dart/runtime/vm/compiler/compiler_state.h FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/base_flow_graph_builder.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/base_flow_graph_builder.h -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_flow_graph_builder.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_flow_graph_builder.h -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_reader.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_reader.h -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_scope_builder.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/constant_reader.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/constant_reader.h FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/kernel_fingerprints.cc @@ -9417,19 +9411,13 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/scope_builder.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/scope_builder.h FILE: ../../../third_party/dart/runtime/vm/compiler/relocation.h FILE: ../../../third_party/dart/runtime/vm/constants.h -FILE: ../../../third_party/dart/runtime/vm/constants_kbc.h FILE: ../../../third_party/dart/runtime/vm/datastream.cc FILE: ../../../third_party/dart/runtime/vm/finalizable_data.h FILE: ../../../third_party/dart/runtime/vm/hash.h -FILE: ../../../third_party/dart/runtime/vm/instructions_kbc.cc -FILE: ../../../third_party/dart/runtime/vm/instructions_kbc.h -FILE: ../../../third_party/dart/runtime/vm/interpreter.cc -FILE: ../../../third_party/dart/runtime/vm/interpreter.h FILE: ../../../third_party/dart/runtime/vm/raw_object_fields.cc FILE: ../../../third_party/dart/runtime/vm/raw_object_fields.h FILE: ../../../third_party/dart/runtime/vm/reverse_pc_lookup_cache.cc FILE: ../../../third_party/dart/runtime/vm/reverse_pc_lookup_cache.h -FILE: ../../../third_party/dart/runtime/vm/stack_frame_kbc.h FILE: ../../../third_party/dart/runtime/vm/type_testing_stubs.cc FILE: ../../../third_party/dart/runtime/vm/type_testing_stubs.h FILE: ../../../third_party/dart/runtime/vm/v8_snapshot_writer.cc @@ -10602,41 +10590,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================================================================================================== -==================================================================================================== -LIBRARY: dart -ORIGIN: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_scope_builder.h + ../../../third_party/dart/LICENSE -TYPE: LicenseType.bsd -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/bytecode_scope_builder.h -FILE: ../../../third_party/dart/sdk/lib/io/network_profiling.dart ----------------------------------------------------------------------------------------------------- -Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file -for details. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -==================================================================================================== - ==================================================================================================== LIBRARY: dart ORIGIN: ../../../third_party/dart/sdk/lib/_internal/vm/lib/bigint_patch.dart @@ -10685,6 +10638,40 @@ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file ==================================================================================================== +==================================================================================================== +LIBRARY: dart +ORIGIN: ../../../third_party/dart/sdk/lib/io/network_profiling.dart + ../../../third_party/dart/LICENSE +TYPE: LicenseType.bsd +FILE: ../../../third_party/dart/sdk/lib/io/network_profiling.dart +---------------------------------------------------------------------------------------------------- +Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file +for details. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +==================================================================================================== + ==================================================================================================== LIBRARY: double-conversion LIBRARY: icu diff --git a/lib/web_ui/lib/src/engine/window.dart b/lib/web_ui/lib/src/engine/window.dart index ea0d5743c..f7140140a 100644 --- a/lib/web_ui/lib/src/engine/window.dart +++ b/lib/web_ui/lib/src/engine/window.dart @@ -222,6 +222,7 @@ typedef _JsSetUrlStrategy = void Function(JsUrlStrategy?); // // TODO: Add integration test https://github.com/flutter/flutter/issues/66852 @JS('_flutter_web_set_location_strategy') +// ignore: unused_element external set _jsSetUrlStrategy(_JsSetUrlStrategy? newJsSetUrlStrategy); UrlStrategy? _createDefaultUrlStrategy() { -- GitLab