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

Unified Diff: lib/src/barback/cycle_exception.dart

Issue 2184303002: Make pub strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/barback/barback_server.dart ('k') | lib/src/barback/dart2js_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/barback/cycle_exception.dart
diff --git a/lib/src/barback/cycle_exception.dart b/lib/src/barback/cycle_exception.dart
index 45f4362c7347ed93727ec7697072eafe5a2cba4a..8931ddf4d44de50b9b40def60df7ac90fc7aac6a 100644
--- a/lib/src/barback/cycle_exception.dart
+++ b/lib/src/barback/cycle_exception.dart
@@ -27,7 +27,7 @@ class CycleException implements ApplicationException {
if (_step == null) return [];
var exception = this;
- var steps = [];
+ var steps = <String>[];
while (exception != null) {
steps.add(exception._step);
exception = exception._next;
« no previous file with comments | « lib/src/barback/barback_server.dart ('k') | lib/src/barback/dart2js_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698