| Index: lib/compiler/implementation/typechecker.dart
|
| diff --git a/lib/compiler/implementation/typechecker.dart b/lib/compiler/implementation/typechecker.dart
|
| index f5a600fa3e08f04b40f497efe977c7630b43dbe0..fbf0cece90c33e08aaf529e95ae8eaeff874b575 100644
|
| --- a/lib/compiler/implementation/typechecker.dart
|
| +++ b/lib/compiler/implementation/typechecker.dart
|
| @@ -30,9 +30,11 @@ interface Type {
|
| }
|
|
|
| class TypeVariableType implements Type {
|
| - final SourceString name;
|
| - TypeVariableElement element;
|
| - TypeVariableType(this.name, [this.element]);
|
| + final TypeVariableElement element;
|
| +
|
| + TypeVariableType(this.element);
|
| +
|
| + SourceString get name() => element.name;
|
|
|
| toString() => name.slowToString();
|
| }
|
|
|