mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
Roll args and dart2js_info into the SDK.
This brings in the null safe migrated args. It also brings in a new version of dart2js_info with a tiny change to make it compatible with the new args. Change-Id: I280d25c9d5d6bea974206996c5a8c232e728e81d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175020 Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com> Auto-Submit: Bob Nystrom <rnystrom@google.com>
This commit is contained in:
parent
50a2216b31
commit
a5d50740d9
|
@ -11,7 +11,7 @@
|
|||
"constraint, update this by running tools/generate_package_config.dart."
|
||||
],
|
||||
"configVersion": 2,
|
||||
"generated": "2020-11-15T14:18:10.587065",
|
||||
"generated": "2020-12-03T14:26:48.568312",
|
||||
"generator": "tools/generate_package_config.dart",
|
||||
"packages": [
|
||||
{
|
||||
|
@ -101,7 +101,7 @@
|
|||
"name": "args",
|
||||
"rootUri": "../third_party/pkg/args",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.3"
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "async",
|
||||
|
|
6
DEPS
6
DEPS
|
@ -68,7 +68,7 @@ vars = {
|
|||
"gperftools_revision": "180bfa10d7cb38e8b3784d60943d50e8fcef0dcb",
|
||||
|
||||
# Revisions of /third_party/* dependencies.
|
||||
"args_tag": "1.6.0",
|
||||
"args_rev": "139140125126661fac88c9aa5882165936d01c91",
|
||||
"async_rev": "695b3ac280f107c84adf7488743abfdfaaeea68f",
|
||||
"bazel_worker_rev": "060c55a933d39798681a4f533b161b81dc48d77e",
|
||||
"benchmark_harness_rev": "ec6b646f5443faa871e126ac1ba248c94ca06257",
|
||||
|
@ -84,7 +84,7 @@ vars = {
|
|||
"convert_rev": "dd3bd28f63be7cb8ab961f38bc73229e4473b555",
|
||||
"crypto_rev": "f7c48b334b1386bc5ab0f706fbcd6df8496a87fc",
|
||||
"csslib_rev": "6f77b3dcee957d3e2d5083f666221a220e9ed1f1",
|
||||
"dart2js_info_rev" : "83504e459e13862cc6a61c147147ef7892a0d285",
|
||||
"dart2js_info_rev" : "e0acfeb5affdf94c53067e68bd836adf589628fd",
|
||||
|
||||
# Note: Updates to dart_style have to be coordinated with the infrastructure
|
||||
# team so that the internal formatter in `tools/sdks/dart-sdk/bin/dartfmt`
|
||||
|
@ -301,7 +301,7 @@ deps = {
|
|||
"@" + Var("gperftools_revision"),
|
||||
|
||||
Var("dart_root") + "/third_party/pkg/args":
|
||||
Var("dart_git") + "args.git" + "@" + Var("args_tag"),
|
||||
Var("dart_git") + "args.git" + "@" + Var("args_rev"),
|
||||
Var("dart_root") + "/third_party/pkg/async":
|
||||
Var("dart_git") + "async.git" + "@" + Var("async_rev"),
|
||||
Var("dart_root") + "/third_party/pkg/bazel_worker":
|
||||
|
|
|
@ -300,12 +300,12 @@ Future<void> main(List<String> arguments) async {
|
|||
if (options['help']) return print(_usages[options.command?.name]);
|
||||
if (options.command == null) return errorWithUsage('no command provided');
|
||||
|
||||
switch (options.command.name) {
|
||||
switch (options.command!.name) {
|
||||
case 'help':
|
||||
return help(options.command);
|
||||
return help(options.command!);
|
||||
case 'find':
|
||||
return find(options.command);
|
||||
return find(options.command!);
|
||||
case 'translate':
|
||||
return await translate(options.command);
|
||||
return await translate(options.command!);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue