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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.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/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index 8c43df5589a77a52f70df93cf77e2121ced29cc7..9a28076efd8299518cd749839aff9906d7ba8aac 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -1910,10 +1910,10 @@ class TargetElementX extends ElementX implements TargetElement {
class TypeVariableElementX extends ElementX implements TypeVariableElement {
final Node cachedNode;
TypeVariableType type;
- DartType bound;
+ DartType upperBound;
TypeVariableElementX(name, Element enclosing, this.cachedNode,
- [this.type, this.bound])
+ [this.type, this.upperBound])
: super(name, ElementKind.TYPE_VARIABLE, enclosing);
TypeVariableType computeType(compiler) => type;

Powered by Google App Engine
This is Rietveld 408576698