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

Unified Diff: dart/pkg/serialization/test/serialization_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
« no previous file with comments | « dart/pkg/serialization/lib/src/serialization_rule.dart ('k') | dart/runtime/lib/mirrors_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/serialization/test/serialization_test.dart
diff --git a/dart/pkg/serialization/test/serialization_test.dart b/dart/pkg/serialization/test/serialization_test.dart
index 4d5ebf4501ce7f55897eff3df88422349d8868ac..99b96c403bab71fb29949ff7422ce13941e30845 100644
--- a/dart/pkg/serialization/test/serialization_test.dart
+++ b/dart/pkg/serialization/test/serialization_test.dart
@@ -130,7 +130,7 @@ void main() {
// we want from the mirror.
// TODO(alanknight): Either delete this test and decide we shouldn't
// attempt to access private variables or fix this properly.
- var _collectionSym = reflect(stream).type.variables.keys.firstWhere(
+ var _collectionSym = reflect(stream).type.declarations.keys.firstWhere(
(x) => MirrorSystem.getName(x) == "_collection");
var s = new Serialization()
..addRuleFor(Stream,
« no previous file with comments | « dart/pkg/serialization/lib/src/serialization_rule.dart ('k') | dart/runtime/lib/mirrors_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698