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

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

Issue 368833002: Cleanup warnings in unit tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix outdated type annotations. Created 6 years, 5 months 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
« no previous file with comments | « tests/compiler/dart2js/find_my_name_test.dart ('k') | tests/compiler/dart2js/mirrors_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/memory_compiler.dart
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
index 8a89f9c5ede5ab46ab5c048322e0a934eecade18..554098605821c2a2c1010a3ba85acdc83185b3f5 100644
--- a/tests/compiler/dart2js/memory_compiler.dart
+++ b/tests/compiler/dart2js/memory_compiler.dart
@@ -170,7 +170,8 @@ Compiler compilerFor(Map<String,String> memorySourceFiles,
Map copiedLibraries = {};
cachedCompiler.libraryLoader.libraries.forEach((library) {
if (library.isPlatformLibrary) {
- compiler.libraryLoader.mapLibrary(library);
+ var libraryLoader = compiler.libraryLoader;
+ libraryLoader.mapLibrary(library);
compiler.onLibraryCreated(library);
compiler.onLibraryScanned(library, null);
if (library.isPatched) {
« no previous file with comments | « tests/compiler/dart2js/find_my_name_test.dart ('k') | tests/compiler/dart2js/mirrors_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698