Index: pkg/compiler/lib/src/js_emitter/type_test_registry.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart |
index 1409b1c3496c23b07b893523dc5f8b9be08e6251..1cf8e1d51dbe91dd8d0cc6270433e01e8d6b5349 100644 |
--- a/pkg/compiler/lib/src/js_emitter/type_test_registry.dart |
+++ b/pkg/compiler/lib/src/js_emitter/type_test_registry.dart |
@@ -167,7 +167,8 @@ class TypeTestRegistry { |
// reflected on 'as functions'. |
liveMembers.where((MemberEntity element) { |
return canBeReflectedAsFunction(element) && canBeReified(element); |
- }).forEach((MethodElement function) { |
+ }).forEach((_function) { |
+ MethodElement function = _function; |
FunctionType type = function.type; |
for (ClassEntity cls in _rtiChecks.getReferencedClasses(type)) { |
while (cls != null) { |
@@ -187,7 +188,8 @@ class TypeTestRegistry { |
checkedClasses = new Set<ClassElement>(); |
checkedFunctionTypes = new Set<ResolutionFunctionType>(); |
- _codegenWorldBuilder.isChecks.forEach((ResolutionDartType t) { |
+ _codegenWorldBuilder.isChecks.forEach((_t) { |
+ ResolutionDartType t = _t; |
if (t is ResolutionInterfaceType) { |
checkedClasses.add(t.element); |
} else if (t is ResolutionFunctionType) { |