Index: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
index 7e981fc8796a42d87a92ece02349e8c2fbb3341b..1b9b6effb4c02f35dddcb2878afc60c477c5e3fe 100644 |
--- a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
@@ -559,7 +559,7 @@ class ProgramBuilder { |
bool canTearOff = false; |
js.Name tearOffName; |
- bool isClosure = false; |
+ bool isClosureCallMethod = false; |
bool isNotApplyTarget = !element.isFunction || element.isAccessor; |
bool canBeReflected = _methodCanBeReflected(element); |
@@ -574,7 +574,7 @@ class ProgramBuilder { |
} else { |
if (element.enclosingClass.isClosure) { |
canTearOff = false; |
- isClosure = true; |
+ isClosureCallMethod = true; |
} else { |
// Careful with operators. |
canTearOff = universe.hasInvokedGetter(element, _compiler.world) || |
@@ -628,7 +628,7 @@ class ProgramBuilder { |
return new InstanceMethod(element, name, code, |
_generateParameterStubs(element, canTearOff), callName, |
needsTearOff: canTearOff, tearOffName: tearOffName, |
- isClosure: isClosure, aliasName: aliasName, |
+ isClosureCallMethod: isClosureCallMethod, aliasName: aliasName, |
canBeApplied: canBeApplied, canBeReflected: canBeReflected, |
requiredParameterCount: requiredParameterCount, |
optionalParameterDefaultValues: optionalParameterDefaultValues, |