Index: tests/compiler/dart2js/mirrors_used_test.dart |
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart |
index 73634227f530e7f09e116e7d883117d56fe8fe3e..c395535acf380656526db971df5f9b7522de0a2f 100644 |
--- a/tests/compiler/dart2js/mirrors_used_test.dart |
+++ b/tests/compiler/dart2js/mirrors_used_test.dart |
@@ -53,7 +53,8 @@ void main() { |
CompilerImpl compiler = result.compiler; |
JavaScriptBackend backend = compiler.backend; |
print(''); |
- List generatedCode = Elements.sortedByPosition(backend.generatedCode.keys); |
+ List generatedCode = |
+ Elements.sortedByPosition(new List.from(backend.generatedCode.keys)); |
for (var element in generatedCode) { |
print(element); |
} |