Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: packages/dart_style/lib/src/chunk.dart

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/dart_style/lib/src/call_chain_visitor.dart ('k') | packages/dart_style/lib/src/chunk_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/lib/src/chunk.dart
diff --git a/packages/dart_style/lib/src/chunk.dart b/packages/dart_style/lib/src/chunk.dart
index da6d7bbc011ac9e7d82055ec4d43b76b66c48b52..0ac36bd07f1bcbe424f636e0b359b4101f580ebb 100644
--- a/packages/dart_style/lib/src/chunk.dart
+++ b/packages/dart_style/lib/src/chunk.dart
@@ -329,6 +329,9 @@ class Cost {
/// Splitting on the "." in a named constructor.
static const constructorName = 3;
+ /// Splitting a `[...]` index operator.
+ static const index = 3;
+
/// Splitting before a type argument or type parameter.
static const typeArgument = 4;
}
« no previous file with comments | « packages/dart_style/lib/src/call_chain_visitor.dart ('k') | packages/dart_style/lib/src/chunk_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698