Index: tests/lib/mirrors/mirrors_resolve_fields_test.dart |
diff --git a/tests/lib/mirrors/mirrors_resolve_fields_test.dart b/tests/lib/mirrors/mirrors_resolve_fields_test.dart |
index cb3044f81726f501fe47f9dcfe82c9b8c5dc367f..d1eccf3e7619c263981b91ca1848ce4cb8e73131 100644 |
--- a/tests/lib/mirrors/mirrors_resolve_fields_test.dart |
+++ b/tests/lib/mirrors/mirrors_resolve_fields_test.dart |
@@ -5,7 +5,11 @@ |
// Regression test for dart2js that used to not resolve instance |
// fields when a class is only instantiated through mirrors. |
+library lib; |
+ |
import "package:expect/expect.dart"; |
+ |
+@MirrorsUsed(targets: "lib") |
import 'dart:mirrors'; |
class A { |