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

Unified Diff: lib/src/chunk.dart

Issue 1252323003: Allow arguments before and after block-formatted functions. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update pubspec and changelog. Created 5 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 | « lib/src/argument_list_visitor.dart ('k') | lib/src/rule/argument.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/chunk.dart
diff --git a/lib/src/chunk.dart b/lib/src/chunk.dart
index bb2d98bb56a2ccbcf51833645eb78299bf5679cd..e92a85b115c506d7d752aedd2cb726c40a21db3a 100644
--- a/lib/src/chunk.dart
+++ b/lib/src/chunk.dart
@@ -293,11 +293,11 @@ class Cost {
/// Splitting inside the brackets of a list with only one element.
static const singleElementList = 2;
- /// Splitting the internals of literal block arguments.
+ /// Splitting the internals of collection literal arguments.
///
/// Used to prefer splitting at the argument boundary over splitting the
- /// block contents.
- static const splitBlocks = 2;
+ /// collection contents.
+ static const splitCollections = 2;
/// Splitting before a type argument or type parameter.
static const typeArgument = 4;
« no previous file with comments | « lib/src/argument_list_visitor.dart ('k') | lib/src/rule/argument.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698