Chromium Code Reviews

Unified Diff: tests/lib/mirrors/type_variable_owner_test.dart

Issue 56673002: Mirror removals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tests/lib/mirrors/to_string_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a6deb620b19e7da223d4a6d4e94727f5bd60f372..d1809b26aab7632bdfe8462afeee3eae392aa924 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.variables[#somePredicateOfList].type;
+ thisLibrary.declarations[#somePredicateOfList].type;
TypedefMirror predicateDecl = predicateOfList.originalDeclaration;
Expect.equals(predicateDecl, predicateOfDynamic.typeVariables[0].owner);
« no previous file with comments | « tests/lib/mirrors/to_string_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine