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

Unified Diff: pkg/compiler/lib/src/dump_info.dart

Issue 2940883006: Modify types in dump_info to make kernel checked mode happy. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index 6b039a918039382fdaa4fe1edfb897da4a52baed..a1e3d4355bbc3d9cba8e9f06df3e3dbadbb5a55a 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -554,7 +554,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
AllInfo result = infoCollector.result;
// Recursively build links to function uses
- Iterable<Element> functionElements =
+ Iterable<Entity> functionElements =
infoCollector._elementToInfo.keys.where((k) => k is FunctionElement);
for (FunctionElement element in functionElements) {
FunctionInfo info = infoCollector._elementToInfo[element];
@@ -569,7 +569,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
}
// Recursively build links to field uses
- Iterable<Element> fieldElements =
+ Iterable<Entity> fieldElements =
infoCollector._elementToInfo.keys.where((k) => k is FieldElement);
for (FieldElement element in fieldElements) {
FieldInfo info = infoCollector._elementToInfo[element];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698