Skip to content

Commit 7f5efd8

Browse files
committed
Use 2.17 language version.
1 parent 610ef57 commit 7f5efd8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/src/dart_formatter.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ class DartFormatter {
8888
// TODO(paulberry): consider plumbing in experiment enable flags from the
8989
// command line.
9090
var featureSet = FeatureSet.fromEnableFlags2(
91-
sdkLanguageVersion: Version(2, 13, 0),
92-
flags: [
93-
'constructor-tearoffs',
94-
'generic-metadata',
95-
'nonfunction-type-aliases',
96-
'triple-shift'
97-
]);
91+
sdkLanguageVersion: Version(2, 17, 0),
92+
flags: [
93+
'enhanced-enums',
94+
'named-arguments-anywhere',
95+
'super-parameters',
96+
],
97+
);
9898

9999
var inputOffset = 0;
100100
var text = source.text;

0 commit comments

Comments
 (0)