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

Unified Diff: dart/tests/compiler/dart2js_extra/mirror_type_inference_field_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_field_test.dart
diff --git a/dart/tests/compiler/dart2js_extra/mirror_type_inference_field_test.dart b/dart/tests/compiler/dart2js_extra/mirror_type_inference_field_test.dart
index 860d8c76ec8ed8aa16e4332636cfc2ab5fd00da9..fcf06413cb8bf99a1971e8b09091fe7d90c85492 100644
--- a/dart/tests/compiler/dart2js_extra/mirror_type_inference_field_test.dart
+++ b/dart/tests/compiler/dart2js_extra/mirror_type_inference_field_test.dart
@@ -14,7 +14,7 @@ import 'package:expect/expect.dart';
var fisk = 1;
main() {
- var lm = currentMirrorSystem().findLibrary(const Symbol('test')).single;
+ var lm = currentMirrorSystem().findLibrary(const Symbol('test'));
lm.setField(const Symbol('fisk'), 'hest');
Expect.isTrue(fisk is String);
}

Powered by Google App Engine
This is Rietveld 408576698