Index: sdk/lib/_internal/compiler/implementation/closure.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart |
index 7f3df99eab0e8522bb2d049ff3675bf29c02dbb2..201817f3dfa03c966db0b5326e897a60dcc71b30 100644 |
--- a/sdk/lib/_internal/compiler/implementation/closure.dart |
+++ b/sdk/lib/_internal/compiler/implementation/closure.dart |
@@ -614,7 +614,7 @@ class ClosureTranslator extends Visitor { |
currentElement = oldFunctionElement; |
// Mark all free variables as captured and use them in the outer function. |
- List<Element> freeVariables = savedClosureData.freeVariableMapping.keys; |
+ Iterable<Element> freeVariables = savedClosureData.freeVariableMapping.keys; |
assert(freeVariables.isEmpty || savedInsideClosure); |
for (Element freeElement in freeVariables) { |
if (capturedVariableMapping[freeElement] != null && |