Skip to content

Commit 34fb48b

Browse files
johnniwinthercommit-bot@chromium.org
authored andcommitted
[kernel,front_end] Migrate first wave of pkg/kernel and pkg/front_end
Migrates libraries dependent only on already migrated libraries. Change-Id: I0e85ee8dbc2afce031b92e0009e71c206a55af28 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/179502 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
1 parent 04e8aa5 commit 34fb48b

File tree

484 files changed

+1084
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

484 files changed

+1084
-42
lines changed

.dart_tool/package_config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"copyright": [
3-
"Copyright (c) 2020, the Dart project authors. Please see the AUTHORS ",
3+
"Copyright (c) 2021, the Dart project authors. Please see the AUTHORS ",
44
"file for details. All rights reserved. Use of this source code is ",
55
"governed by a BSD-style license that can be found in the LICENSE file."
66
],
@@ -11,7 +11,7 @@
1111
"constraint, update this by running tools/generate_package_config.dart."
1212
],
1313
"configVersion": 2,
14-
"generated": "2020-12-16T11:30:30.799202",
14+
"generated": "2021-01-16T20:34:15.774260",
1515
"generator": "tools/generate_package_config.dart",
1616
"packages": [
1717
{
@@ -273,7 +273,7 @@
273273
"name": "front_end",
274274
"rootUri": "../pkg/front_end",
275275
"packageUri": "lib/",
276-
"languageVersion": "2.6"
276+
"languageVersion": "2.12"
277277
},
278278
{
279279
"name": "front_end_testcases",
@@ -367,7 +367,7 @@
367367
"name": "kernel",
368368
"rootUri": "../pkg/kernel",
369369
"packageUri": "lib/",
370-
"languageVersion": "2.6"
370+
"languageVersion": "2.12"
371371
},
372372
{
373373
"name": "language_versioning_2.7_test",

pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
1+
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

pkg/front_end/benchmarks/ikg/dart2js.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart=2.9
6+
57
import 'package:compiler/src/dart2js.dart' as dart2js;
68

79
main(args) => dart2js.main(args);

pkg/front_end/lib/src/api_prototype/compiler_options.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
library front_end.compiler_options;
68

79
import 'package:_fe_analyzer_shared/src/messages/diagnostic_message.dart'

pkg/front_end/lib/src/api_prototype/constant_evaluator.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
library front_end.constant_evaluator;
68

79
export '../fasta/kernel/constant_evaluator.dart'

pkg/front_end/lib/src/api_prototype/experimental_flags.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
import 'package:kernel/kernel.dart' show Version;
68

79
part 'experimental_flags_generated.dart';

pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
1+
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
// NOTE: THIS FILE IS GENERATED. DO NOT EDIT.
68
//
79
// Instead modify 'tools/experimental_features.yaml' and run

pkg/front_end/lib/src/api_prototype/front_end.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
/// The Dart Front End contains logic to build summaries and kernel programs
68
/// from Dart sources. The APIs exposed here are designed for tools in the Dart
79
/// ecosystem that need to load sources and convert them to these formats.

pkg/front_end/lib/src/api_prototype/incremental_kernel_generator.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
import 'package:_fe_analyzer_shared/src/scanner/string_scanner.dart'
68
show StringScanner;
79

pkg/front_end/lib/src/api_prototype/kernel_generator.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
/// Defines the front-end API for converting source code to Dart Kernel objects.
68
library front_end.kernel_generator;
79

0 commit comments

Comments
 (0)