Index: tests/lib/mirrors/private_symbol_test.dart |
diff --git a/tests/lib/mirrors/private_symbol_test.dart b/tests/lib/mirrors/private_symbol_test.dart |
index 52eaa0906774d3ca5cdfcd46a4a5a03561f0e6c1..7624531e8e8468a2f28370c23f183c8ee8204fb7 100644 |
--- a/tests/lib/mirrors/private_symbol_test.dart |
+++ b/tests/lib/mirrors/private_symbol_test.dart |
@@ -109,7 +109,7 @@ main() { |
Expect.equals(#_F, tdm.simpleName); |
Expect.equals('_F', MirrorSystem.getName(tdm.simpleName)); |
- ParameterMirror pm = cm.members[#m].parameters[0]; |
+ ParameterMirror pm = (cm.members[#m] as MethodMirror).parameters[0]; |
Expect.equals(#_p, pm.simpleName); |
Expect.equals('_p', MirrorSystem.getName(pm.simpleName)); |