Index: pkg/compiler/lib/src/js_emitter/full_emitter/container_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/container_builder.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/container_builder.dart |
index b0a94ceccf060b3bb3482874d57117bda168de0f..ebd7d1a1d2ad9df200e6962dcb69a28746240474 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/container_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/container_builder.dart |
@@ -20,7 +20,7 @@ class ContainerBuilder extends CodeEmitterHelper { |
bool canBeReflected = method.canBeReflected; |
bool canTearOff = method.needsTearOff; |
jsAst.Name tearOffName = method.tearOffName; |
- bool isClosure = method is InstanceMethod && method.isClosure; |
+ bool isClosure = method is InstanceMethod && method.isClosureCallMethod; |
jsAst.Name superAlias = method is InstanceMethod ? method.aliasName : null; |
bool hasSuperAlias = superAlias != null; |
jsAst.Expression memberTypeExpression = method.functionType; |