From 524b2b677d977b3ef1b25a7fcefaa1f0b82bef20 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Fri, 6 Oct 2023 10:17:33 -0700 Subject: [PATCH] Bump the language version in extension type tests to 3.3 (#3509) --- .github/workflows/test.yaml | 12 +++++++++--- test/extension_types_test.dart | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4ea7645dad..16f09242ed 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,14 +22,20 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - sdk: [dev, stable] + # TODO(srawlins): Include dev when using analyzer that understands + # language version 3.3. + sdk: [stable] job: [main, flutter, packages, sdk-docs] include: - os: macos-latest - sdk: dev + # TODO(srawlins): Change back to dev when using analyzer that + # understands language version 3.3. + sdk: stable job: main - os: windows-latest - sdk: dev + # TODO(srawlins): Change back to dev when using analyzer that + # understands language version 3.3. + sdk: stable job: main exclude: # Do not try to run flutter against the "stable" sdk, diff --git a/test/extension_types_test.dart b/test/extension_types_test.dart index 47c002f9bf..1676fce22e 100644 --- a/test/extension_types_test.dart +++ b/test/extension_types_test.dart @@ -25,7 +25,7 @@ class ExtensionTypesTest extends DartdocTestBase { String get libraryName => 'extension_types'; @override - String get sdkConstraint => '>=3.2.0 <4.0.0'; + String get sdkConstraint => '>=3.3.0 <4.0.0'; // TODO(srawlins): Test superinterfaces, references to members which exist via // `implements`, references to primary constructor.