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

Unified Diff: tests/lib/mirrors/syntax_error_test.dart

Issue 2727323002: Add @MirrorsUsed annotations to speed up tests. (Closed)
Patch Set: Minor fixes. Created 3 years, 9 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/lib/mirrors/syntax_error_test.dart
diff --git a/tests/lib/mirrors/syntax_error_test.dart b/tests/lib/mirrors/syntax_error_test.dart
index 8888ce56d879fddbcedadaf6ecacc6da6f4ab3ca..1e0b1c3d5b83fc2c21f5d0f57feacdfd71a34337 100644
--- a/tests/lib/mirrors/syntax_error_test.dart
+++ b/tests/lib/mirrors/syntax_error_test.dart
@@ -5,6 +5,9 @@
// Regression test for Issue 15744
// Also, tests that syntax errors in reflected classes are reported correctly.
+library lib;
+
+@MirrorsUsed(targets: "lib")
import 'dart:mirrors';
class MD {
« no previous file with comments | « tests/lib/mirrors/symbol_validation_test.dart ('k') | tests/lib/mirrors/synthetic_accessor_properties_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698