Skip to content

Commit 7fa49a2

Browse files
stereotype441commit-bot@chromium.org
authored andcommitted
Update the minimum SDK constraint to 2.2.2 for kernel and front_end packages.
This allows us to use ui-as-code and set literal features in these packages. This should be safe because (a) when these packages are used within the SDK itself, they are used with the most recent SDK (whose version is greater than 2.2.2), and (b) the only significant dependency on these packages in pub is from the analyzer, which already has a minimum SDK version of 2.2.2. Change-Id: I4f7d4c9506904ee3016db95297b45e5bcf7989b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110060 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent baaeafa commit 7fa49a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/front_end/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: Dart Team <[email protected]>
66
description: Front end for compilation of Dart code.
77
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/front_end
88
environment:
9-
sdk: '>=2.1.0-dev.5.0 <3.0.0'
9+
sdk: '>=2.2.2 <3.0.0'
1010
dependencies:
1111
kernel: 0.3.20
1212
package_config: '^1.0.1'

pkg/kernel/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: Dart Team <[email protected]>
66
description: Dart IR (Intermediate Representation)
77
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/kernel
88
environment:
9-
sdk: '>=2.0.0-dev.48.0 <3.0.0'
9+
sdk: '>=2.2.2 <3.0.0'
1010
dependencies:
1111
args: '>=0.13.4 <2.0.0'
1212
dev_dependencies:

0 commit comments

Comments
 (0)