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

Issue 25350003: Flow control structure formatting (a la the Style Guide). (Closed)

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

Description

Flow control structure formatting (a la the Style Guide). Enforces the 'curly braces for all flow control structures (modulo ifs with no elses)' edict from here: https://www.dartlang.org/articles/style-guide/#whitespace R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=28072

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -10 lines) Patch
M pkg/analyzer_experimental/lib/src/services/formatter_impl.dart View 1 7 chunks +52 lines, -10 lines 0 comments Download
M pkg/analyzer_experimental/test/services/formatter_test.dart View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
pquitslund
7 years, 2 months ago (2013-09-30 21:48:19 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/25350003/diff/1/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart File pkg/analyzer_experimental/lib/src/services/formatter_impl.dart (right): https://codereview.chromium.org/25350003/diff/1/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart#newcode199 pkg/analyzer_experimental/lib/src/services/formatter_impl.dart:199: if (!isEOF(token2) && !isCLOSE_CURLY_BRACKET(token2)) { Do you need ...
7 years, 2 months ago (2013-09-30 22:19:34 UTC) #2
pquitslund
Thanks! https://codereview.chromium.org/25350003/diff/1/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart File pkg/analyzer_experimental/lib/src/services/formatter_impl.dart (right): https://codereview.chromium.org/25350003/diff/1/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart#newcode199 pkg/analyzer_experimental/lib/src/services/formatter_impl.dart:199: if (!isEOF(token2) && !isCLOSE_CURLY_BRACKET(token2)) { On 2013/09/30 22:19:34, ...
7 years, 2 months ago (2013-09-30 22:41:56 UTC) #3
pquitslund
7 years, 2 months ago (2013-09-30 22:43:48 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r28072 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698