Index: tests/lib/mirrors/method_mirror_returntype_test.dart |
=================================================================== |
--- tests/lib/mirrors/method_mirror_returntype_test.dart (revision 30028) |
+++ tests/lib/mirrors/method_mirror_returntype_test.dart (working copy) |
@@ -39,7 +39,7 @@ |
Expect.equals(const Symbol("void"), mm.returnType.simpleName); |
ClassMirror cm = reflectClass(C); |
- mm = cm.declarations[#getE]; |
+ mm = cm.members[#getE]; |
Expect.equals(true, mm.returnType is TypeMirror); |
// The spec for this is ambigious and needs to be updated before it is clear |
// what has to be returned. |