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

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

Issue 100553004: Fix for extra space preceding the 'on' keyword in a catch clause (dartbug.com/15454). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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/formatter_test.dart » ('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
===================================================================
--- pkg/analyzer/lib/src/services/formatter_impl.dart (revision 30876)
+++ pkg/analyzer/lib/src/services/formatter_impl.dart (working copy)
@@ -466,7 +466,7 @@
visitCatchClause(CatchClause node) {
- token(node.onKeyword, precededBy: space, followedBy: space);
+ token(node.onKeyword, followedBy: space);
visit(node.exceptionType);
if (node.catchKeyword != null) {
« no previous file with comments | « no previous file | pkg/analyzer/test/services/formatter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698