diff --git a/DEPS b/DEPS index ce228b640b..673a911e30 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': '1402e8e1a42d6be6ea370346677cd57093d4be03', + 'dart_revision': 'e21c4353006d665e7c4378413ad4d237f18437e0', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py @@ -72,12 +72,11 @@ vars = { 'dart_oauth2_tag': '1.2.1', 'dart_observatory_pub_packages_rev': '0894122173b0f98eb08863a7712e78407d4477bc', 'dart_package_config_tag': 'v1.9.2', - 'dart_package_resolver_tag': '1.0.10', 'dart_path_tag': '1.6.2', 'dart_pedantic_tag': 'v1.8.0', 'dart_pool_tag': '1.3.6', 'dart_protobuf_rev': '3746c8fd3f2b0147623a8e3db89c3ff4330de760', - 'dart_pub_rev': 'ab109723d9eb782c2ea4cce68c044da40403a652', + 'dart_pub_rev': '8777719d1a8261b42a81b3b4025b7d695fe0c683', 'dart_pub_semver_tag': 'v1.4.4', 'dart_quiver-dart_tag': '2.0.0+1', 'dart_resource_rev': 'f8e37558a1c4f54550aa463b88a6a831e3e33cd6', @@ -228,7 +227,7 @@ deps = { Var('dart_git') + '/dart2js_info.git' + '@' + Var('dart_dart2js_info_tag'), 'src/third_party/dart/third_party/pkg/dartdoc': - Var('dart_git') + '/dartdoc.git@v0.30.2', + Var('dart_git') + '/dartdoc.git@v0.30.3', 'src/third_party/dart/third_party/pkg/ffi': Var('dart_git') + '/ffi.git' + '@' + Var('dart_ffi_tag'), @@ -377,11 +376,8 @@ deps = { 'src/third_party/dart/third_party/pkg_tested/package_config': Var('dart_git') + '/package_config.git' + '@' + Var('dart_package_config_tag'), - 'src/third_party/dart/third_party/pkg_tested/package_resolver': - Var('dart_git') + '/package_resolver.git' + '@' + Var('dart_package_resolver_tag'), - 'src/third_party/dart/tools/sdks': - {'packages': [{'version': 'version:2.8.0-dev.0.0', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'}, + {'packages': [{'version': 'version:2.8.0-dev.18.0', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'}, # WARNING: end of dart dependencies list that is cleaned up automatically - see create_updated_flutter_deps.py. diff --git a/engine/src/flutter/lib/ui/hooks.dart b/engine/src/flutter/lib/ui/hooks.dart index e7c70e51f9..571c3a18d8 100644 --- a/engine/src/flutter/lib/ui/hooks.dart +++ b/engine/src/flutter/lib/ui/hooks.dart @@ -230,7 +230,7 @@ void _runMainZoned(Function startMainIsolateFunction, Function userMainFunction, List args) { startMainIsolateFunction((){ - runZoned(() { + runZonedGuarded(() { if (userMainFunction is _BinaryFunction) { // This seems to be undocumented but supported by the command line VM. // Let's do the same in case old entry-points are ported to Flutter. @@ -240,7 +240,7 @@ void _runMainZoned(Function startMainIsolateFunction, } else { userMainFunction(); } - }, onError: (Object error, StackTrace stackTrace) { + }, (Object error, StackTrace stackTrace) { _reportUnhandledException(error.toString(), stackTrace.toString()); }); }, null); diff --git a/engine/src/flutter/testing/scenario_app/lib/src/animated_color_square.dart b/engine/src/flutter/testing/scenario_app/lib/src/animated_color_square.dart index 8a5e515709..f1e9865f55 100644 --- a/engine/src/flutter/testing/scenario_app/lib/src/animated_color_square.dart +++ b/engine/src/flutter/testing/scenario_app/lib/src/animated_color_square.dart @@ -99,7 +99,7 @@ class _NumberSwinger { } else if (_current <= _begin) { _up = true; } - _current = _up ? _current + 1 : _current - 1; + _current = (_up ? _current + 1 : _current - 1) as T; return _current; } }