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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 23872010: Add metadata for type parameters (TypeVariableMirror). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase 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_impl.dart
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
index 534ded4614c1af696a87e1fe5c8f0e37879945a0..0487b586c7c7ba343d6fb2b5ccd8a36d81b1615f 100644
--- a/runtime/lib/mirrors_impl.dart
+++ b/runtime/lib/mirrors_impl.dart
@@ -769,7 +769,6 @@ class _LocalFunctionTypeMirrorImpl extends _LocalClassMirrorImpl
Map<Symbol, Mirror> get members => new Map<Symbol,Mirror>();
Map<Symbol, MethodMirror> get constructors => new Map<Symbol,MethodMirror>();
- final Map<Symbol, TypeVariableMirror> typeVariables = const {};
String toString() => "FunctionTypeMirror on '${_n(simpleName)}'";
@@ -847,11 +846,6 @@ class _LocalTypeVariableMirrorImpl extends _LocalDeclarationMirrorImpl
return _upperBound;
}
- List<InstanceMirror> get metadata {
- throw new UnimplementedError(
- 'TypeVariableMirror.metadata is not implemented');
- }
-
bool get isOriginalDeclaration => true;
ClassMirror get originalDeclaration => this;
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/object.h » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698