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

Unified Diff: pkg/analyzer/lib/src/services/formatter_impl.dart

Issue 322483002: Formatter: do not use a space when using < and > for a map literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « no previous file | pkg/analyzer/test/services/data/style_guide_tests.data » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/services/formatter_impl.dart
diff --git a/pkg/analyzer/lib/src/services/formatter_impl.dart b/pkg/analyzer/lib/src/services/formatter_impl.dart
index cfa81c9548c6d7ba4e0686d374724bceb2afb805..a638137c1cfa210ef9465049132e0ec1bb296694 100644
--- a/pkg/analyzer/lib/src/services/formatter_impl.dart
+++ b/pkg/analyzer/lib/src/services/formatter_impl.dart
@@ -1030,7 +1030,7 @@ class SourceVisitor implements AstVisitor {
visitMapLiteral(MapLiteral node) {
modifier(node.constKeyword);
- visitNode(node.typeArguments, followedBy: space);
+ visitNode(node.typeArguments);
token(node.leftBracket);
if (!node.entries.isEmpty) {
newlines();
« no previous file with comments | « no previous file | pkg/analyzer/test/services/data/style_guide_tests.data » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698