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

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

Issue 263103003: Remove warnings from dart2js test-suite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove debug code. Created 6 years, 7 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
Index: tests/compiler/dart2js/deferred_not_in_main_test.dart
diff --git a/tests/compiler/dart2js/deferred_not_in_main_test.dart b/tests/compiler/dart2js/deferred_not_in_main_test.dart
index a2d828ad7d5dd5b53e74640dfa078f9b95f7df8e..5c1bf87312bcc1103e0b140b26ccf221e488219c 100644
--- a/tests/compiler/dart2js/deferred_not_in_main_test.dart
+++ b/tests/compiler/dart2js/deferred_not_in_main_test.dart
@@ -40,13 +40,14 @@ void main() {
var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
var mainOutputUnit = compiler.deferredLoadTask.mainOutputUnit;
- var classes = compiler.backend.emitter.neededClasses;
+ var backend = compiler.backend;
+ var classes = backend.emitter.neededClasses;
var lib1 = compiler.libraries["memory:lib1.dart"];
var lib2 = compiler.libraries["memory:lib2.dart"];
var foo1 = lib1.find("foo1");
var foo2 = lib2.find("foo2");
- var outputClassLists = compiler.backend.emitter.outputClassLists;
+ var outputClassLists = backend.emitter.outputClassLists;
Expect.notEquals(mainOutputUnit, outputUnitForElement(foo2));
}));
« no previous file with comments | « tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart ('k') | tests/compiler/dart2js/find_my_name_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698