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

Unified Diff: runtime/lib/mirrors_patch.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, 3 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: runtime/lib/mirrors_patch.dart
diff --git a/runtime/lib/mirrors_patch.dart b/runtime/lib/mirrors_patch.dart
index 5b7539b637258d038227a96db76732d8dd2f2a86..c1090abe5ffa54fce659ec361e0a5efe4802b01b 100644
--- a/runtime/lib/mirrors_patch.dart
+++ b/runtime/lib/mirrors_patch.dart
@@ -41,6 +41,10 @@ patch ClassMirror reflectClass(Type key) {
return _Mirrors.reflectClass(key);
}
+patch TypeMirror reflectType(Type key) {
+ return _Mirrors.reflectType(key);
+}
+
patch class MirrorSystem {
/* patch */ static String getName(Symbol symbol) {
return _symbol_dev.Symbol.getName(symbol);

Powered by Google App Engine
This is Rietveld 408576698