Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Fix type. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index f3a0978c5215d34a5e12ccca276aa2e3611bdd04..f1bee2e20eb2dd2b1a03a68c5af39e0596033521 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -136,7 +136,7 @@ class MockCompiler extends Compiler {
var script = new Script(uri, new MockFile(source));
var library = new LibraryElement(script);
parseScript(source, library);
- library.setExports(library.localScope.values);
+ library.setExports(library.localScope.values.toList());
return library;
}

Powered by Google App Engine
This is Rietveld 408576698