From 6268cef37ad9ba6f8fce8d8871e72498f1bdaeab Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 11 Oct 2023 08:14:09 -0700 Subject: [PATCH] Bump analyzer to 6.3.0 --- .github/workflows/test.yaml | 12 +++--------- lib/src/generator/templates.runtime_renderers.dart | 12 +++++++++++- pubspec.yaml | 2 +- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 16f09242ed..4ea7645dad 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,20 +22,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - # TODO(srawlins): Include dev when using analyzer that understands - # language version 3.3. - sdk: [stable] + sdk: [dev, stable] job: [main, flutter, packages, sdk-docs] include: - os: macos-latest - # TODO(srawlins): Change back to dev when using analyzer that - # understands language version 3.3. - sdk: stable + sdk: dev job: main - os: windows-latest - # TODO(srawlins): Change back to dev when using analyzer that - # understands language version 3.3. - sdk: stable + sdk: dev job: main exclude: # Do not try to run flutter against the "stable" sdk, diff --git a/lib/src/generator/templates.runtime_renderers.dart b/lib/src/generator/templates.runtime_renderers.dart index 4a81706d82..43759bc8be 100644 --- a/lib/src/generator/templates.runtime_renderers.dart +++ b/lib/src/generator/templates.runtime_renderers.dart @@ -16675,7 +16675,8 @@ const _invisibleGetters = { 'periodOffset', 'redirectedConstructor', 'returnType', - 'runtimeType' + 'runtimeType', + 'superConstructor' }, 'ContainerModifier': { 'displayName', @@ -16796,6 +16797,7 @@ const _invisibleGetters = { 'hasOptionalTypeArgs', 'hasOverride', 'hasProtected', + 'hasRedeclare', 'hasReopen', 'hasRequired', 'hasSealed', @@ -16885,6 +16887,7 @@ const _invisibleGetters = { 'hasOptionalTypeArgs', 'hasOverride', 'hasProtected', + 'hasRedeclare', 'hasReopen', 'hasRequired', 'hasSealed', @@ -16949,11 +16952,14 @@ const _invisibleGetters = { 'augmentationTarget', 'augmented', 'hashCode', + 'primaryConstructor', 'representation', 'runtimeType', 'typeErasure' }, 'FieldElement': { + 'augmentation', + 'augmentationTarget', 'declaration', 'hashCode', 'isAbstract', @@ -17150,6 +17156,7 @@ const _invisibleGetters = { 'hasOptionalTypeArgs', 'hasOverride', 'hasProtected', + 'hasRedeclare', 'hasReopen', 'hasRequired', 'hasSealed', @@ -17312,6 +17319,7 @@ const _invisibleGetters = { 'hasOptionalTypeArgs', 'hasOverride', 'hasProtected', + 'hasRedeclare', 'hasReopen', 'hasRequired', 'hasSealed', @@ -17379,6 +17387,8 @@ const _invisibleGetters = { 'useBaseHref' }, 'TopLevelVariableElement': { + 'augmentation', + 'augmentationTarget', 'declaration', 'hashCode', 'isExternal', diff --git a/pubspec.yaml b/pubspec.yaml index 296cc3427c..80ae54230f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ^3.0.0 dependencies: - analyzer: ^6.2.0 + analyzer: ^6.3.0 args: ^2.4.1 cli_util: ^0.4.0 collection: ^1.17.0