Index: tests/lib/mirrors/regress_14304_test.dart |
diff --git a/tests/lib/mirrors/regress_14304_test.dart b/tests/lib/mirrors/regress_14304_test.dart |
index e63cae08dcfd46e7652246732cff0295dddf0608..af974a40fb5f82d4b7c83a66893d8bfa9d09a69e 100644 |
--- a/tests/lib/mirrors/regress_14304_test.dart |
+++ b/tests/lib/mirrors/regress_14304_test.dart |
@@ -14,7 +14,7 @@ class A<T> { |
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); |
} |