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

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

Issue 2920253004: Revert "Revert "Make ClosureTask only accept Element-level APIs instead of resolvedAst."" (Closed)
Patch Set: fix teh tests 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
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 6cf48bd84e42b6263dbbea334e90c2fd02550217..fcecf0c44d08cf56cf4a2e240b71399ec571e45c 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -215,7 +215,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
_elementToInfo[element] = closureInfo;
ClosureClassMap closureMap = compiler.closureToClassMapper
- .getClosureToClassMapping(element.methodElement.resolvedAst);
+ .getClosureToClassMapping(element.methodElement);
assert(closureMap != null && closureMap.closureClassElement == element);
FunctionInfo functionInfo = this.process(closureMap.callElement);

Powered by Google App Engine
This is Rietveld 408576698