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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart

Issue 12210013: Implement subtype for type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
index ea9b593e6c341297aed4c67d55b1784981d97b9a..8f2d80e189f70736b6692001e4fe8d9cfc39f814 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
@@ -1159,7 +1159,7 @@ class Dart2JsTypeVariableMirror extends Dart2JsTypeElementMirror
TypeMirror get upperBound => _convertTypeToTypeMirror(
mirrors,
- _typeVariableType.element.bound,
+ _typeVariableType.element.upperBound,
mirrors.compiler.objectClass.computeType(mirrors.compiler));
bool operator ==(Object other) {

Powered by Google App Engine
This is Rietveld 408576698