Skip to content

Commit f7f0f71

Browse files
lrhnCommit Queue
authored andcommitted
Don't use part of library.name in platform libraries.
The feature will go away when we get any new part-affecting language feature, whether enhanced parts or import shorthands. Might as well be prepared. Not touching tools/dom. CoreLibraryReviewExempt: No changes to actual code. Also, vacation. Tested: No behavior change, no new tests. Change-Id: Ie70f07b9f8f73edd93bf37b93de60662e271a0e2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/440221 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Lasse Nielsen <[email protected]> Reviewed-by: Alexander Markov <[email protected]>
1 parent 7ba8625 commit f7f0f71

File tree

200 files changed

+203
-201
lines changed

Some content is hidden

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

200 files changed

+203
-201
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
// ignore_for_file: lines_longer_than_80_chars
1111

12-
part of _fe_analyzer_shared.messages.codes;
12+
part of 'codes.dart';
1313

1414
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1515
const MessageCode codeAbstractClassConstructorTearOff = const MessageCode(

pkg/analyzer_testing/lib/mock_packages/package_content/ui/lib/geometry.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
part of dart.ui;
5+
part of 'ui.dart';
66

77
/// A radius for either circular or elliptical shapes.
88
class Radius {

pkg/analyzer_testing/lib/mock_packages/package_content/ui/lib/painting.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
part of dart.ui;
5+
part of 'ui.dart';
66

77
/// Algorithms to use when painting on the canvas.
88
///

pkg/analyzer_testing/lib/mock_packages/package_content/ui/lib/text.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
part of dart.ui;
5+
part of 'ui.dart';
66

77
/// Whether to slant the glyphs in the font
88
enum FontStyle {

pkg/analyzer_testing/lib/mock_packages/package_content/vector_math/lib/matrix4.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// All rights reserved. Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
part of vector_math_64;
5+
part of 'vector_math_64.dart';
66

77
/// 4D Matrix.
88
/// Values are stored in column major order.

pkg/front_end/tool/generate_messages_lib.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Messages generateMessagesFilesRaw(
5656
sharedMessages.writeln(preamble1);
5757
sharedMessages.writeln(preamble2);
5858
sharedMessages.writeln("""
59-
part of _fe_analyzer_shared.messages.codes;
59+
part of 'codes.dart';
6060
""");
6161

6262
cfeMessages.writeln(preamble1);

pkg/vm/testcases/transformations/vm_constant_evaluator/errors/not_constant_field.dart.linux.expect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Constant evaluation error: Constant evaluation error:
2-
platform_impl.dart:2770 Constant evaluation error: The invocation of '_environmentCache' is not allowed in a constant expression.
2+
platform_impl.dart:2772 Constant evaluation error: The invocation of '_environmentCache' is not allowed in a constant expression.
33
Member: notConstant
44
File: not_constant_field.dart
55
Offset: 350

sdk/lib/_http/crypto.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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-
part of dart._http;
5+
part of "dart:_http";
66

77
class _CryptoUtils {
88
static Uint8List getRandomBytes(int count) {

sdk/lib/_http/embedder_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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-
part of dart._http;
5+
part of "dart:_http";
66

77
/// Embedder-specific `dart:_http` configuration.
88

sdk/lib/_http/http_date.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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-
part of dart._http;
5+
part of "dart:_http";
66

77
/// Utility functions for working with dates with HTTP specific date
88
/// formats.

0 commit comments

Comments
 (0)