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

Unified Diff: lib/src/rule/argument.dart

Issue 1258203006: Handle function arguments inside function calls. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Reformat self. 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/line_splitting/solve_state.dart ('k') | lib/src/source_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/rule/argument.dart
diff --git a/lib/src/rule/argument.dart b/lib/src/rule/argument.dart
index 8e08fba37414278cd14cf63eb7e1378b7dc9e49a..813bfb1087dba662b5bf0bbfaaf10fa54ab317ee 100644
--- a/lib/src/rule/argument.dart
+++ b/lib/src/rule/argument.dart
@@ -113,9 +113,8 @@ class SinglePositionalRule extends PositionalRule {
/// split before the argument if the argument itself contains a split.
SinglePositionalRule(Rule collectionRule, {bool splitsOnInnerRules})
: super(collectionRule),
- splitsOnInnerRules = splitsOnInnerRules
- != null
- ? splitsOnInnerRules : false;
+ splitsOnInnerRules =
+ splitsOnInnerRules != null ? splitsOnInnerRules : false;
bool isSplit(int value, Chunk chunk) => value == 1;
« no previous file with comments | « lib/src/line_splitting/solve_state.dart ('k') | lib/src/source_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698