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

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

Issue 2400153002: Fix access to ClosureToClassMap (Closed)
Patch Set: Created 4 years, 2 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 | pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart » ('j') | 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 3e347612873c75646f46e6fbb4c426a157ede47c..4b5d1a71c1e89ccdf697eb6e3409bf2192235b76 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -198,7 +198,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
_elementToInfo[element] = closureInfo;
ClosureClassMap closureMap = compiler.closureToClassMapper
- .getClosureToClassMapping(element.resolvedAst);
+ .getClosureToClassMapping(element.methodElement.resolvedAst);
assert(closureMap != null && closureMap.closureClassElement == element);
FunctionInfo functionInfo = this.process(closureMap.callElement);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698