| Index: sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/typechecker.dart b/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| index f3a0dcbfabc50ac940ca173d06f83e43616f2165..c0c5de26adeba26525fd1efbe9cd20408db60565 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/typechecker.dart
|
| @@ -261,9 +261,13 @@ class MalformedType extends DartType {
|
|
|
| DartType unalias(Compiler compiler) => this;
|
|
|
| - int get hashCode => 1733;
|
| + int get hashCode => 1733 + 19 * element.hashCode;
|
|
|
| - bool operator ==(other) => other is MalformedType;
|
| + bool operator ==(other) {
|
| + if (other is !MalformedType) return false;
|
| + if (!identical(element, other.element)) return false;
|
| + return true;
|
| + }
|
|
|
| String toString() => name.slowToString();
|
| }
|
|
|