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

Unified Diff: pkg/front_end/tool/fasta_perf.dart

Issue 2889463002: Fixes for review comments. (Closed)
Patch Set: Fixes and tweaks. Created 3 years, 7 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 | « pkg/front_end/test/src/incremental/file_state_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d08753aaba42bdc3abf4354987f15da0616333fb..32685e74133f3a4b782132a7ad67f373f733aecb 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.map((d) => d.uri))
- ..addAll(listener.exports.map((d) => d.uri))
+ ..addAll(listener.imports.map((directive) => directive.uri))
+ ..addAll(listener.exports.map((directive) => directive.uri))
..addAll(listener.parts);
}
« no previous file with comments | « pkg/front_end/test/src/incremental/file_state_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698