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

Unified Diff: pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart

Issue 11345035: TypeVariableMirror and TypedefMirror updated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « pkg/dartdoc/lib/mirrors.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
diff --git a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
index 37c689f82a75896edbdfcda19fb047422201ac98..d1dfb745d9e294438656c63e64a4a1c1c02d2997 100644
--- a/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
+++ b/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart
@@ -905,7 +905,7 @@ class Dart2JsTypedefMirror extends Dart2JsTypeElementMirror
return _typeVariables;
}
- TypeMirror get definition {
+ TypeMirror get value {
if (_definition === null) {
// TODO(johnniwinther): Should be [ensureResolved].
system.compiler.resolveTypedef(_typedef.element);
@@ -965,9 +965,11 @@ class Dart2JsTypeVariableMirror extends Dart2JsTypeElementMirror
LibraryMirror get library => declarer.library;
+ DeclarationMirror get owner => declarer;
+
bool get isTypeVariable => true;
- TypeMirror get bound => _convertTypeToTypeMirror(
+ TypeMirror get upperBound => _convertTypeToTypeMirror(
system,
_typeVariableType.element.bound,
system.compiler.objectClass.computeType(system.compiler));
« no previous file with comments | « pkg/dartdoc/lib/mirrors.dart ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698