Skip to content

Commit

Permalink
Bump analyzer to 0.27.4.
Browse files Browse the repository at this point in the history
R=nweiz@google.com

Review URL: https://codereview.chromium.org//2194373002 .
  • Loading branch information
munificent committed Aug 1, 2016
1 parent 2a66a28 commit b963018
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.2.9

* Require analyzer 0.27.4, which makes trailing commas on by default.

# 0.2.8

* Format parameter lists with trailing commas like argument lists (#447).
Expand Down
2 changes: 0 additions & 2 deletions lib/src/dart_formatter.dart
Expand Up @@ -103,8 +103,6 @@ class DartFormatter {
// Parse it.
var parser = new Parser(stringSource, errorListener);

parser.parseTrailingCommas = true;

var node;
if (source.isCompilationUnit) {
node = parser.parseCompilationUnit(startToken);
Expand Down
16 changes: 11 additions & 5 deletions pubspec.lock
Expand Up @@ -6,7 +6,7 @@ packages:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "0.27.4-alpha.17"
version: "0.27.4"
ansicolor:
description:
name: ansicolor
Expand All @@ -18,7 +18,7 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.4+2"
version: "0.13.5"
async:
description:
name: async
Expand Down Expand Up @@ -96,7 +96,7 @@ packages:
name: html
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.2+2"
version: "0.13.0"
http:
description:
name: http
Expand Down Expand Up @@ -162,7 +162,13 @@ packages:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.5"
version: "1.0.0"
package_resolver:
description:
name: package_resolver
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
path:
description:
name: path
Expand Down Expand Up @@ -216,7 +222,7 @@ packages:
name: source_map_stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "1.1.2"
source_maps:
description:
name: source_maps
Expand Down
5 changes: 2 additions & 3 deletions pubspec.yaml
@@ -1,17 +1,16 @@
name: dart_style
# Note: See tool/grind.dart for how to bump the version.
version: 0.2.8
version: 0.2.9
author: Dart Team <misc@dartlang.org>
description: Opinionated, automatic Dart source code formatter.
homepage: https://github.com/dart-lang/dart_style
environment:
sdk: ">=1.8.0 <2.0.0"
dependencies:
analyzer: '^0.27.4-alpha.17'
analyzer: '^0.27.4'
args: '>=0.12.1 <0.14.0'
path: '>=1.0.0 <2.0.0'
source_span: '>=1.1.1 <2.0.0'

dev_dependencies:
async: '>=1.0.0 <=2.0.0'
browser: '>=0.10.0 <0.11.0'
Expand Down

0 comments on commit b963018

Please sign in to comment.