Index: pkg/compiler/lib/src/dart2js.dart |
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart |
index 1fbf54358fbbd205d5da824aab4b9db87a77ea37..ca0ef6af424ad412305847b7eae9ad55c5d2990d 100644 |
--- a/pkg/compiler/lib/src/dart2js.dart |
+++ b/pkg/compiler/lib/src/dart2js.dart |
@@ -169,8 +169,8 @@ Future<api.CompilationResult> compile(List<String> argv) { |
passThrough(argument); |
} |
- String getDepsOutput(Map<String, SourceFile> sourceFiles) { |
- var filenames = new List.from(sourceFiles.keys); |
+ String getDepsOutput(Map<Uri, SourceFile> sourceFiles) { |
+ var filenames = sourceFiles.keys.map((uri) => '$uri').toList(); |
filenames.sort(); |
return filenames.join("\n"); |
} |