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

Unified Diff: lib/src/source_visitor.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/rule/argument.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/source_visitor.dart
diff --git a/lib/src/source_visitor.dart b/lib/src/source_visitor.dart
index a59ff5e1d968a17684588025df60868ed6e2beb5..524db2ecf8fe427478953bda1181ddf9019ffd19 100644
--- a/lib/src/source_visitor.dart
+++ b/lib/src/source_visitor.dart
@@ -647,11 +647,9 @@ class SourceVisitor implements AstVisitor {
visit(node.name);
space();
- _writeBody(node.leftBracket, node.rightBracket,
- space: true,
- body: () {
- visitCommaSeparatedNodes(node.constants, between: split);
- });
+ _writeBody(node.leftBracket, node.rightBracket, space: true, body: () {
+ visitCommaSeparatedNodes(node.constants, between: split);
+ });
}
visitExportDirective(ExportDirective node) {
« no previous file with comments | « lib/src/rule/argument.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698