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

Unified Diff: tests/compiler/dart2js/mirror_tree_shaking_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/mirror_tree_shaking_test.dart
diff --git a/tests/compiler/dart2js/mirror_tree_shaking_test.dart b/tests/compiler/dart2js/mirror_tree_shaking_test.dart
index 5f8c5c04ad2f91d9a5a8ddcf8ec447fe744266c4..68bc816620382c9553ecdf96af74982e0da3e1da 100644
--- a/tests/compiler/dart2js/mirror_tree_shaking_test.dart
+++ b/tests/compiler/dart2js/mirror_tree_shaking_test.dart
@@ -15,6 +15,8 @@ import '../../../sdk/lib/_internal/compiler/compiler.dart'
show Diagnostic;
import 'dart:async';
+import '../../../sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart'
+ show JavaScriptBackend;
main() {
Uri script = currentDirectory.resolveUri(Platform.script);
@@ -50,7 +52,8 @@ main() {
Expect.isFalse(compiler.enqueuer.codegen.hasEnqueuedEverything);
Expect.isFalse(compiler.enqueuer.codegen.hasEnqueuedReflectiveStaticFields);
Expect.isFalse(compiler.disableTypeInference);
- Expect.isFalse(compiler.backend.hasRetainedMetadata);
+ JavaScriptBackend backend = compiler.backend;
+ Expect.isFalse(backend.hasRetainedMetadata);
}));
}
« no previous file with comments | « tests/compiler/dart2js/mirror_helper_unique_minification_test.dart ('k') | tests/compiler/dart2js/mirrors_used_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698