From 2a83c51e954a286671d78c61812399316030a432 Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Thu, 22 Sep 2022 12:22:34 -0400 Subject: [PATCH] Roll Dart SDK from 441b4d802246 to 1627a0801f8c (1 revision) (flutter/engine#36351) --- DEPS | 4 ++-- engine/src/flutter/tools/api_check/lib/apicheck.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DEPS b/DEPS index 0616bcf8f8..6cb50d2ae3 100644 --- a/DEPS +++ b/DEPS @@ -43,7 +43,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS. # You can use //tools/dart/create_updated_flutter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': '441b4d8022467b5c6504cfdca2bd5d4769c6d4a3', + 'dart_revision': '1627a0801f8c4a2e00066728e75e969f6603d633', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py @@ -246,7 +246,7 @@ deps = { Var('dart_git') + '/logging.git@f5d64426af1b48966a4b33e97927c9fc456960b6', 'src/third_party/dart/third_party/pkg/markdown': - Var('dart_git') + '/markdown.git@32a94505ded3863b82310b86344a003a19c00341', + Var('dart_git') + '/markdown.git@87e4c689342d5bbaa84ba2999abf0bff503979be', 'src/third_party/dart/third_party/pkg/matcher': Var('dart_git') + '/matcher.git@6a9b83bbd73e50df2058b3e8e4aa301df49569c6', diff --git a/engine/src/flutter/tools/api_check/lib/apicheck.dart b/engine/src/flutter/tools/api_check/lib/apicheck.dart index d85a0dc280..7aafdb6d02 100644 --- a/engine/src/flutter/tools/api_check/lib/apicheck.dart +++ b/engine/src/flutter/tools/api_check/lib/apicheck.dart @@ -36,11 +36,11 @@ List getDartClassFields({ final RegExp fieldExp = RegExp(r'_k(\w*)Index'); final List fields = []; for (final CompilationUnitMember unitMember in result.unit.declarations) { - if (unitMember is ClassDeclaration && unitMember.name2.lexeme == className) { + if (unitMember is ClassDeclaration && unitMember.name.lexeme == className) { for (final ClassMember classMember in unitMember.members) { if (classMember is FieldDeclaration) { for (final VariableDeclaration field in classMember.fields.variables) { - final String fieldName = field.name2.lexeme; + final String fieldName = field.name.lexeme; final RegExpMatch? match = fieldExp.firstMatch(fieldName); if (match != null) { fields.add(match.group(1)!);