mirror of
https://github.com/dart-lang/sdk
synced 2024-10-01 19:29:09 +00:00
Roll the latest dart_style into the SDK.
There are a couple of small format changes, but they are minimal enough that we might not need to land a pre-built SDK with this. Change-Id: I1d258c8a782e5db24c2048f407a8b7cf7b948eef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/325580 Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Alexander Thomas <athom@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>
This commit is contained in:
parent
293848fd52
commit
b35c645302
|
@ -173,6 +173,13 @@ constraint][language version] lower bound to 3.2 or greater (`sdk: '^3.2.0'`).
|
|||
|
||||
[#53106]: https://github.com/dart-lang/sdk/issues/53106
|
||||
|
||||
#### Dart format
|
||||
|
||||
- Always split enum declarations containing a line comment.
|
||||
- Fix regression in splitting type annotations with library prefixes.
|
||||
- Support `--enable-experiment` command-line option to enable language
|
||||
experiments.
|
||||
|
||||
#### Pub
|
||||
|
||||
- New option `dart pub upgrade --tighten` which will update dependencies' lower
|
||||
|
|
2
DEPS
2
DEPS
|
@ -141,7 +141,7 @@ vars = {
|
|||
# and land the review.
|
||||
#
|
||||
# For more details, see https://github.com/dart-lang/sdk/issues/30164.
|
||||
"dart_style_rev": "2956b1a705953f880a5dae9d3a0969df0fc45e99", # disable rev_sdk_deps.dart
|
||||
"dart_style_rev": "1a2def95a3c04dafd27b85d17e6e828bd4afa1a3", # disable rev_sdk_deps.dart
|
||||
"dartdoc_rev": "dd28f4ce4135c019c9943ef6c27e10cdcfe6760c",
|
||||
"ecosystem_rev": "e96fbdbf1135a9e41ef66eb23e6c35f41e0e05b7",
|
||||
"ffi_rev": "d36e05af55293bcc511d6b3a99ea4b8cb69f6323",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// @dart = 2.19
|
||||
base class A {}
|
||||
|
||||
abstract base class B {}
|
||||
|
||||
base mixin M {}
|
||||
base
|
||||
mixin M {}
|
||||
base class C = Object with M;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// @dart = 2.19
|
||||
final class A {}
|
||||
|
||||
abstract final class B {}
|
||||
|
||||
mixin M {}
|
||||
final class C = Object with M;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// @dart = 2.19
|
||||
abstract final class B {}
|
||||
|
||||
final class A {}
|
||||
|
||||
final class C = Object with M;
|
||||
mixin M {}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// @dart = 2.19
|
||||
interface class A {}
|
||||
|
||||
abstract interface class B {}
|
||||
|
||||
mixin M {}
|
||||
interface class C = Object with M;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// @dart = 2.19
|
||||
abstract interface class B {}
|
||||
|
||||
interface class A {}
|
||||
|
||||
interface class C = Object with M;
|
||||
mixin M {}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// @dart = 2.19
|
||||
mixin class A {}
|
||||
|
||||
abstract mixin class B {}
|
||||
|
||||
mixin M {}
|
||||
mixin class C = Object with M;
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
// @dart = 2.19
|
||||
abstract mixin class B {}
|
||||
|
||||
mixin M {}
|
||||
|
||||
mixin class A {}
|
||||
|
||||
mixin class C = Object with M;
|
||||
|
|
Loading…
Reference in a new issue