[dart2js] Require SDK 2.16

Change-Id: I1594cb85c40feae1508ec31a5b4740eb6ca72816
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/240600
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
Stephen Adams 2022-04-09 04:15:20 +00:00 committed by Commit Bot
parent d2d810a8e8
commit 30413a1c5f
10 changed files with 2 additions and 18 deletions

View file

@ -183,7 +183,7 @@
"name": "compiler",
"rootUri": "../pkg/compiler",
"packageUri": "lib/",
"languageVersion": "2.6"
"languageVersion": "2.16"
},
{
"name": "convert",

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.cmdline.options;
/// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`.

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.src.options;
import 'package:front_end/src/api_unstable/dart2js.dart' as fe;

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.util.command_line;
/// The accepted escapes in the input of the --batch processor.

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.util.enumset;
import 'dart:collection';

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.util.maplet;
import 'dart:collection' show MapBase, IterableBase;

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.util.setlet;
import 'dart:collection' show SetBase;

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.15
/// Marks its argument as live and prevents tree-shaking.
///
/// This is more hermetic than using `package:expect` or `print`. This function

View file

@ -2,8 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.12
library dart2js.util;
import 'package:front_end/src/api_unstable/dart2js.dart'

View file

@ -4,7 +4,7 @@ name: compiler
# This package is not intended for consumption on pub.dev. DO NOT publish.
publish_to: none
environment:
sdk: '>=2.6.0 <3.0.0'
sdk: '>=2.16.0 <3.0.0'
# NOTE: `pub get / pub upgrade` are generally not needed when working on this
# package. The `.packages` file in the repository root will be used by default.