| Index: tests/compiler/dart2js_extra/lookup_map/dead_entry_through_mirrors_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/lookup_map/dead_entry_through_mirrors_test.dart b/tests/compiler/dart2js_extra/lookup_map/dead_entry_through_mirrors_test.dart
|
| index 6de44b4880fbc0472618071a9b075a03f9e6341d..977ae45b7c786a1141a69030521585fea2db7c75 100644
|
| --- a/tests/compiler/dart2js_extra/lookup_map/dead_entry_through_mirrors_test.dart
|
| +++ b/tests/compiler/dart2js_extra/lookup_map/dead_entry_through_mirrors_test.dart
|
| @@ -10,16 +10,15 @@ import 'package:expect/expect.dart';
|
| @MirrorsUsed(targets: const [A])
|
| import 'dart:mirrors';
|
|
|
| -class A{}
|
| -class B{}
|
| -const map = const LookupMap(const [
|
| - A, "the-text-for-A",
|
| - B, "the-text-for-B",
|
| -]);
|
| +class A {}
|
| +
|
| +class B {}
|
| +
|
| +const map = const LookupMap(const [A, "the-text-for-A", B, "the-text-for-B",]);
|
|
|
| main() {
|
| - LibraryMirror lib = currentMirrorSystem().findLibrary(
|
| - #dead_entry_through_mirrors_test);
|
| + LibraryMirror lib =
|
| + currentMirrorSystem().findLibrary(#dead_entry_through_mirrors_test);
|
|
|
| // `A` is included by @MirrorsUsed, so its entry is retained too.
|
| ClassMirror aClass = lib.declarations[#A];
|
|
|