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

Unified Diff: lib/src/command/barback.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/command.dart ('k') | lib/src/command/build.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/command/barback.dart
diff --git a/lib/src/command/barback.dart b/lib/src/command/barback.dart
index 1ac2ea9a6240b0787c0aceffe5e312615a302b31..3e07773ca7d762a2d1158323a7d3b65905b0f02c 100644
--- a/lib/src/command/barback.dart
+++ b/lib/src/command/barback.dart
@@ -111,7 +111,7 @@ abstract class BarbackCommand extends PubCommand {
// Make sure the directories don't overlap.
var sources = sourceDirectories.toList();
- var overlapping = new Set();
+ var overlapping = new Set<String>();
for (var i = 0; i < sources.length; i++) {
for (var j = i + 1; j < sources.length; j++) {
if (path.isWithin(sources[i], sources[j]) ||
« no previous file with comments | « lib/src/command.dart ('k') | lib/src/command/build.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698