OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of types; | 5 part of types; |
6 | 6 |
7 /** | 7 /** |
8 * A type mask that wraps an other one, and delegate all its | 8 * A type mask that wraps an other one, and delegate all its |
9 * implementation methods to it. | 9 * implementation methods to it. |
10 */ | 10 */ |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 return forwardTo == other.forwardTo.nonNullable(); | 108 return forwardTo == other.forwardTo.nonNullable(); |
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 bool operator==(other) { | 112 bool operator==(other) { |
113 return equalsDisregardNull(other) && isNullable == other.isNullable; | 113 return equalsDisregardNull(other) && isNullable == other.isNullable; |
114 } | 114 } |
115 | 115 |
116 int get hashCode => throw "Subclass should implement hashCode getter"; | 116 int get hashCode => throw "Subclass should implement hashCode getter"; |
117 } | 117 } |
OLD | NEW |