Index: pkg/compiler/lib/src/closure.dart |
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart |
index 94eb03da53100403fe44cad8437f5caa854c3430..28d3cf2d48e038461addf5d9bfde5a1659c89f03 100644 |
--- a/pkg/compiler/lib/src/closure.dart |
+++ b/pkg/compiler/lib/src/closure.dart |
@@ -599,6 +599,7 @@ class SynthesizedCallMethodElementX extends BaseFunctionElementX |
super(name, other.kind, Modifiers.EMPTY, enclosing) { |
asyncMarker = other.asyncMarker; |
functionSignature = other.functionSignature; |
+ expression.callMethod = this; |
} |
/// Use [closureClass] instead. |