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

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

Issue 19749008: Fix regression in TypedefMirror.owner introduced when making ClassMirror.owner lazy. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | « runtime/lib/mirrors_impl.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/mirrors_test.dart
===================================================================
--- tests/lib/mirrors/mirrors_test.dart (revision 25237)
+++ tests/lib/mirrors/mirrors_test.dart (working copy)
@@ -254,6 +254,11 @@
expect(typedefMirror.simpleName, equals(const Symbol('Typedef')));
expect(typedefMirror.qualifiedName,
equals(const Symbol('MirrorsTest.Typedef')));
+
+ var typedefMirrorDeNovo = reflectClass(Typedef);
+ expect(typedefMirrorDeNovo.simpleName, equals(const Symbol('Typedef')));
+ expect(typedefMirrorDeNovo.qualifiedName,
+ equals(const Symbol('MirrorsTest.Typedef')));
}
expect(methodMirror.simpleName, equals(const Symbol('testNames')));
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698