Index: pkg/front_end/tool/fasta_perf.dart |
diff --git a/pkg/front_end/tool/fasta_perf.dart b/pkg/front_end/tool/fasta_perf.dart |
index b921998c87c9ede07af660f8801cbaafbefc6531..6cfabecf6d9fdaa7945faf342711c0bdc0b263d2 100644 |
--- a/pkg/front_end/tool/fasta_perf.dart |
+++ b/pkg/front_end/tool/fasta_perf.dart |
@@ -163,8 +163,8 @@ Set<String> extractDirectiveUris(List<int> contents) { |
var listener = new DirectiveListenerWithNative(); |
new TopLevelParser(listener).parseUnit(tokenize(contents)); |
return new Set<String>() |
- ..addAll(listener.imports) |
- ..addAll(listener.exports) |
+ ..addAll(listener.imports.map((d) => d.uri)) |
+ ..addAll(listener.exports.map((d) => d.uri)) |
..addAll(listener.parts); |
} |