Chromium Code Reviews| 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..0fb9b23382cc462c798ccfddf5d60f92550b23fe 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 = new List.from(sourceFiles.keys.map((uri) => '$uri')); |
|
floitsch
2015/02/13 13:46:03
since you don't use the generic argument from List
Johnni Winther
2015/02/13 13:55:49
Done.
|
| filenames.sort(); |
| return filenames.join("\n"); |
| } |