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

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: merge with generic interfaces and mixins 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
« no previous file with comments | « 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 4f86b6d4796005e7f7c0d09912b49663ad53ad3f..fa05d64e21d1a9e112083eec68684fe581378d91 100644
--- a/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
+++ b/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
@@ -27,7 +27,9 @@ main() {
cm = reflectClass(B);
checkMetadata(cm.typeVariables[0], [m3]);
- 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]);
}
« no previous file with comments | « tests/lib/mirrors/typedef_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698