Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

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

Issue 24005002: Make TypedefMirror a direct descendant of TypeMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tests/lib/mirrors/mirrors_test.dart ('K') | « tests/lib/mirrors/typedef_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/typevariable_mirror_metadata_test.dart
diff --git a/tests/lib/mirrors/typevariable_mirror_metadata_test.dart b/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
index aa59870a9ba375c9cff5dfc880ef086b712e5e87..8f9f792821d712017f1efd20a1b537ae885ef5b6 100644
--- a/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
+++ b/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
@@ -42,7 +42,9 @@ main() {
// Check for conflicts.
checkMetadata(cm.members[#T], [m1, m2]);
- TypedefMirror tm = reflectClass(Predicate);
- FunctionTypeMirror ftm = tm.referent;
- checkMetadata(ftm.typeVariables[0], [m1, m2]);
+ // Partial coverage.
+ return; /// 01: ok
+
+ TypedefMirror tm = reflectType(Predicate);
+ checkMetadata(tm.typeVariables[0], [m1, m2]);
}
« tests/lib/mirrors/mirrors_test.dart ('K') | « tests/lib/mirrors/typedef_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698