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

Issue 2754923002: Tweak corelib files so dartfmt can do a better job. Use // comments to force line wrapping for long… (Closed)

Created:
3 years, 9 months ago by Jacob
Modified:
3 years, 8 months ago
CC:
reviews_dartlang.org, Bob Nystrom
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Tweak corelib files so dartfmt can do a better job. Use // comments to force line wrapping for long array literals to be more reasonable. Switched some /* comments to // comments Fixed cases where comments were not indented correctly when running the formatter was considered. BUG= R=floitsch@google.com, lrn@google.com, rnystrom@google.com Committed: https://github.com/dart-lang/sdk/commit/ed2d79a8728ab7e2bc3cf274275e31cdc2386ce9

Patch Set 1 #

Total comments: 13

Patch Set 2 : Tweak corelib files so dartfmt can do a better job. Use // comments to force line wrapping for long… #

Total comments: 4

Patch Set 3 : Tweak corelib files so dartfmt can do a better job. Use // comments to force line wrapping for long… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+832 lines, -859 lines) Patch
M sdk/lib/convert/base64.dart View 1 2 18 chunks +56 lines, -70 lines 0 comments Download
M sdk/lib/core/uri.dart View 1 2 100 chunks +643 lines, -638 lines 0 comments Download
M sdk/lib/internal/internal.dart View 2 chunks +23 lines, -23 lines 0 comments Download
M sdk/lib/io/crypto.dart View 1 2 12 chunks +53 lines, -53 lines 0 comments Download
M sdk/lib/io/http_parser.dart View 27 chunks +57 lines, -75 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Jacob
Tweak corelib files so dartfmt can do a better job. Use // comments to force ...
3 years, 9 months ago (2017-03-16 17:57:44 UTC) #2
Bob Nystrom
lgtm https://codereview.chromium.org/2754923002/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/2754923002/diff/1/sdk/lib/core/uri.dart#newcode781 sdk/lib/core/uri.dart:781: // ; non-zero-length segment without any colon ":" ...
3 years, 9 months ago (2017-03-16 18:03:16 UTC) #4
floitsch
LGTM. I'm sure Lasse would prefer not to modify the files, but I think this ...
3 years, 9 months ago (2017-03-16 18:05:57 UTC) #5
Jacob
https://codereview.chromium.org/2754923002/diff/1/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (right): https://codereview.chromium.org/2754923002/diff/1/sdk/lib/core/uri.dart#newcode781 sdk/lib/core/uri.dart:781: // ; non-zero-length segment without any colon ":" On ...
3 years, 9 months ago (2017-03-16 18:10:46 UTC) #6
Lasse Reichstein Nielsen
Allow me to say that adding empty comments to work around bad formatting is a ...
3 years, 9 months ago (2017-03-16 18:38:28 UTC) #8
Jacob
https://codereview.chromium.org/2754923002/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/2754923002/diff/1/sdk/lib/convert/base64.dart#newcode522 sdk/lib/convert/base64.dart:522: __, 0, 1, 2, 3, 4, 5, 6, 7, ...
3 years, 9 months ago (2017-03-16 19:22:18 UTC) #9
Jacob
I agree that adding empty comments to work around bad formatting is a bit of ...
3 years, 9 months ago (2017-03-16 19:24:21 UTC) #10
Lasse Reichstein Nielsen
On 2017/03/16 19:24:21, Jacob wrote: > I agree that adding empty comments to work around ...
3 years, 9 months ago (2017-03-16 21:15:09 UTC) #11
Jacob
3 years, 8 months ago (2017-04-19 14:28:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
ed2d79a8728ab7e2bc3cf274275e31cdc2386ce9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698