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, |