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

Unified Diff: tests/lib/mirrors/function_type_mirror_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/lib.status ('k') | tests/lib/mirrors/generic_function_typedef_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/function_type_mirror_test.dart
diff --git a/tests/lib/mirrors/function_type_mirror_test.dart b/tests/lib/mirrors/function_type_mirror_test.dart
index f712d737e589ad46b7eeb9ca88d6d22d2c7f08af..3b547e3a30e0a2c7aad8116051107a0733b0f660 100644
--- a/tests/lib/mirrors/function_type_mirror_test.dart
+++ b/tests/lib/mirrors/function_type_mirror_test.dart
@@ -11,7 +11,7 @@ typedef void FooFunction(int a, double b);
bar(int a) {}
main() {
- TypedefMirror tm = reflectClass(FooFunction);
+ TypedefMirror tm = reflectType(FooFunction);
FunctionTypeMirror ftm = tm.referent;
Expect.equals(const Symbol('void'), ftm.returnType.simpleName);
Expect.equals(#int, ftm.parameters[0].type.simpleName);
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/mirrors/generic_function_typedef_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698