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); |
})); |
} |