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

Issue 2196863002: Format parameter lists with trailing commas like argument lists. (Closed)

Created:
4 years, 4 months ago by Bob Nystrom
Modified:
4 years, 4 months ago
Reviewers:
jakemac
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/dart_style.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Format parameter lists with trailing commas like argument lists. Fix #447. R=jakemac@google.com Committed: https://github.com/dart-lang/dart_style/commit/2a66a281eddb743792ad0a30900ff7df80a11f65

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -11 lines) Patch
M CHANGELOG.md View 1 chunk +4 lines, -0 lines 0 comments Download
M bin/format.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/source_visitor.dart View 3 chunks +80 lines, -5 lines 2 comments Download
M pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M test/comments/functions.unit View 1 chunk +17 lines, -0 lines 0 comments Download
M test/whitespace/functions.unit View 1 chunk +82 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Bob Nystrom
4 years, 4 months ago (2016-07-29 21:37:47 UTC) #2
jakemac
lgtm https://codereview.chromium.org/2196863002/diff/1/lib/src/source_visitor.dart File lib/src/source_visitor.dart (right): https://codereview.chromium.org/2196863002/diff/1/lib/src/source_visitor.dart#newcode2038 lib/src/source_visitor.dart:2038: assert(parameters.parameters.isNotEmpty); or possibly assert(node.parameters.last.endToken.next.type == TokenType.COMMA)?
4 years, 4 months ago (2016-07-29 21:57:06 UTC) #3
Bob Nystrom
https://codereview.chromium.org/2196863002/diff/1/lib/src/source_visitor.dart File lib/src/source_visitor.dart (right): https://codereview.chromium.org/2196863002/diff/1/lib/src/source_visitor.dart#newcode2038 lib/src/source_visitor.dart:2038: assert(parameters.parameters.isNotEmpty); On 2016/07/29 21:57:05, jakemac wrote: > or possibly ...
4 years, 4 months ago (2016-07-29 22:18:26 UTC) #4
Bob Nystrom
4 years, 4 months ago (2016-07-29 22:18:39 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
2a66a281eddb743792ad0a30900ff7df80a11f65 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698