Index: tests/lib/mirrors/type_variable_owner_test.dart |
diff --git a/tests/lib/mirrors/type_variable_owner_test.dart b/tests/lib/mirrors/type_variable_owner_test.dart |
index d1809b26aab7632bdfe8462afeee3eae392aa924..a6deb620b19e7da223d4a6d4e94727f5bd60f372 100644 |
--- a/tests/lib/mirrors/type_variable_owner_test.dart |
+++ b/tests/lib/mirrors/type_variable_owner_test.dart |
@@ -40,7 +40,7 @@ testTypeVariableOfTypedef() { |
TypedefMirror predicateOfDynamic = reflectType(Predicate); |
TypedefMirror predicateOfList = |
- thisLibrary.declarations[#somePredicateOfList].type; |
+ thisLibrary.variables[#somePredicateOfList].type; |
TypedefMirror predicateDecl = predicateOfList.originalDeclaration; |
Expect.equals(predicateDecl, predicateOfDynamic.typeVariables[0].owner); |