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

Unified Diff: tests/lib/mirrors/typedef_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
Index: tests/lib/mirrors/typedef_metadata_test.dart
diff --git a/tests/lib/mirrors/typedef_metadata_test.dart b/tests/lib/mirrors/typedef_metadata_test.dart
index e07339ae459cc299350cee477c32c8f420c9acbe..8a70c7ac192c37a5ac8a99caa03bbbcd2c0c011c 100644
--- a/tests/lib/mirrors/typedef_metadata_test.dart
+++ b/tests/lib/mirrors/typedef_metadata_test.dart
@@ -18,6 +18,6 @@ typedef MA = S with M;
typedef bool Predicate(Object o);
main() {
- checkMetadata(reflectClass(MA), [symbol]);
- checkMetadata(reflectClass(Predicate), [string]);
+ checkMetadata(reflectType(MA), [symbol]);
+ checkMetadata(reflectType(Predicate), [string]);
}

Powered by Google App Engine
This is Rietveld 408576698