mirror of
https://github.com/dart-lang/sdk
synced 2024-10-05 05:17:31 +00:00
Remove the Hashable class.
BUG: http://darbug.com/5522 Review URL: https://codereview.chromium.org//11860006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17011 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
e5b51f0196
commit
72ebc65b16
|
@ -17,7 +17,6 @@ part "exceptions.dart";
|
|||
part "expando.dart";
|
||||
part "expect.dart";
|
||||
part "function.dart";
|
||||
part "hashable.dart";
|
||||
part "identical.dart";
|
||||
part "int.dart";
|
||||
part "invocation_mirror.dart";
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
'identical.dart',
|
||||
'int.dart',
|
||||
'invocation_mirror.dart',
|
||||
'hashable.dart',
|
||||
'iterable.dart',
|
||||
'iterator.dart',
|
||||
'map.dart',
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
part of dart.core;
|
||||
|
||||
/**
|
||||
* Temporary interface for backwards compatibility.
|
||||
*
|
||||
* All objects now have a [hashCode] method. This interface will be removed
|
||||
* after a grace period. Code that use the [:Hashable:] interface should
|
||||
* remove it, or use [:Object:] instead if a type is necessary.
|
||||
*/
|
||||
abstract class Hashable {
|
||||
// TODO(lrn): http://darbug.com/5522
|
||||
int get hashCode;
|
||||
}
|
Loading…
Reference in a new issue