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

Issue 104993003: Formatter improvements (comments and empty bodies). (Closed)

Created:
7 years ago by pquitslund
Modified:
7 years ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Formatter improvements (comments and empty bodies). With these fixes we can now safely format the analyzer source itself (w/ sanity checking). Next stop the SDK! :) R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=30869

Patch Set 1 #

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -34 lines) Patch
M pkg/analyzer/lib/src/services/formatter_impl.dart View 1 20 chunks +59 lines, -34 lines 2 comments Download
M pkg/analyzer/test/services/formatter_test.dart View 2 chunks +48 lines, -0 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
pquitslund
7 years ago (2013-12-04 18:31:57 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/104993003/diff/20001/pkg/analyzer/lib/src/services/formatter_impl.dart File pkg/analyzer/lib/src/services/formatter_impl.dart (right): https://codereview.chromium.org/104993003/diff/20001/pkg/analyzer/lib/src/services/formatter_impl.dart#newcode1439 pkg/analyzer/lib/src/services/formatter_impl.dart:1439: currentToken.previous != null ? currentToken.previous : token.previous; Unless ...
7 years ago (2013-12-04 19:52:49 UTC) #2
pquitslund
Thanks! https://codereview.chromium.org/104993003/diff/20001/pkg/analyzer/lib/src/services/formatter_impl.dart File pkg/analyzer/lib/src/services/formatter_impl.dart (right): https://codereview.chromium.org/104993003/diff/20001/pkg/analyzer/lib/src/services/formatter_impl.dart#newcode1439 pkg/analyzer/lib/src/services/formatter_impl.dart:1439: currentToken.previous != null ? currentToken.previous : token.previous; On ...
7 years ago (2013-12-04 21:09:10 UTC) #3
pquitslund
7 years ago (2013-12-04 21:12:56 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r30869 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698