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

Unified Diff: lib/compiler/implementation/types/concrete_types_inferrer.dart

Issue 11028123: Remove Hashable. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/types/concrete_types_inferrer.dart
===================================================================
--- lib/compiler/implementation/types/concrete_types_inferrer.dart (revision 13487)
+++ lib/compiler/implementation/types/concrete_types_inferrer.dart (working copy)
@@ -17,7 +17,7 @@
* - the null base type
* - the unknown base type
*/
-abstract class BaseType extends Hashable {
+abstract class BaseType {
bool isUnknown();
bool isNull();
}
@@ -68,7 +68,7 @@
* An immutable set of base types, like [: {int, bool} :] or the unknown
* concrete type.
*/
-abstract class ConcreteType extends Hashable {
+abstract class ConcreteType {
factory ConcreteType.empty() => new UnionType(new Set<BaseType>());
/**
@@ -243,7 +243,7 @@
* A method-local immutable mapping from variables to their inferred
* [ConcreteTypes]. Each visitor owns one.
*/
-class ConcreteTypesEnvironment implements Hashable {
+class ConcreteTypesEnvironment {
final Map<Element, ConcreteType> environment;
final BaseType typeOfThis;
ConcreteTypesEnvironment([this.typeOfThis]) :
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698