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 f89bec3c3f0693f593298104b55efdd1fbaa4200..cb04d1e85edeefc81bf1b171d0b8a6ddab8ca17d 100644 |
--- a/pkg/compiler/lib/src/dump_info.dart |
+++ b/pkg/compiler/lib/src/dump_info.dart |
@@ -213,7 +213,7 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> { |
ClosureRepresentationInfo closureRepresentation = compiler |
.backendStrategy.closureDataLookup |
- .getClosureRepresentationInfo(element.methodElement); |
+ .getClosureRepresentationInfo(element.node); |
assert(closureRepresentation.closureClassEntity == element); |
FunctionInfo functionInfo = this.process(closureRepresentation.callMethod); |