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

Unified Diff: dart/tests/compiler/dart2js_extra/mirror_type_inference_field2_test.dart

Issue 23455028: Mirrors overhaul. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r29550. Created 7 years, 2 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: dart/tests/compiler/dart2js_extra/mirror_type_inference_field2_test.dart
diff --git a/dart/tests/compiler/dart2js_extra/mirror_type_inference_field2_test.dart b/dart/tests/compiler/dart2js_extra/mirror_type_inference_field2_test.dart
index 0d8c34d28d80ff48b2692a6a9269d4053af75bb3..ee6b26f8b47272c9f97b9e1f46d572f5de24bf1f 100644
--- a/dart/tests/compiler/dart2js_extra/mirror_type_inference_field2_test.dart
+++ b/dart/tests/compiler/dart2js_extra/mirror_type_inference_field2_test.dart
@@ -16,7 +16,7 @@ var fisk = 1;
var otherFisk = 42;
main() {
- var lm = currentMirrorSystem().findLibrary(const Symbol('test')).single;
+ var lm = currentMirrorSystem().findLibrary(const Symbol('test'));
lm.setField(const Symbol('fisk'), 'hest');
otherFisk = fisk;
Expect.isTrue(otherFisk is String);

Powered by Google App Engine
This is Rietveld 408576698