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

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

Issue 64793003: Update mirror tests for removed API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 7 years, 1 month 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
« no previous file with comments | « tests/lib/mirrors/libraries_test.dart ('k') | tests/lib/mirrors/metadata_constructed_constant_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/library_metadata2_test.dart
diff --git a/tests/lib/mirrors/library_metadata2_test.dart b/tests/lib/mirrors/library_metadata2_test.dart
index 55d3b68446ff680f8f3757eb7059c430f0496328..8c4000cc58d06c3465d18e4ee53b30175f82b1e5 100644
--- a/tests/lib/mirrors/library_metadata2_test.dart
+++ b/tests/lib/mirrors/library_metadata2_test.dart
@@ -6,11 +6,11 @@ import 'dart:mirrors';
import 'library_metadata2_lib1.dart';
-import 'library_metadata2_lib2.dart'; /// 01: runtime error
+import 'library_metadata2_lib2.dart'; /// 01: compile-time error
void main() {
for (var library in currentMirrorSystem().libraries.values) {
print(library.metadata); // Processing @MyConst() in lib2 results in a
- // runtime error here.
+ // delayed compilation error here.
}
}
« no previous file with comments | « tests/lib/mirrors/libraries_test.dart ('k') | tests/lib/mirrors/metadata_constructed_constant_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698