Index: tests/lib/mirrors/regress_14304_test.dart |
=================================================================== |
--- tests/lib/mirrors/regress_14304_test.dart (revision 30026) |
+++ tests/lib/mirrors/regress_14304_test.dart (working copy) |
@@ -14,7 +14,7 @@ |
main() { |
ClassMirror a = reflectClass(A); |
TypeVariableMirror t = a.typeVariables[0]; |
- MethodMirror m = a.methods.values.single; |
+ MethodMirror m = a.declarations[#m]; |
Expect.equals(t, m.returnType); |
} |