diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-08-09 13:57:48 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-08-09 13:57:48 +0000 |
commit | be12a746746c53c1f00758df7daa1fa5edc03935 (patch) | |
tree | 02ec20ec0b00c34deddcb7500e7b77ecd54a8767 /src/cli/runtime/APersistentMap.cs | |
parent | ac3c1ae28a18395a15b8a4f85ea2ad90a3e9e540 (diff) |
equals fixes
Diffstat (limited to 'src/cli/runtime/APersistentMap.cs')
-rw-r--r-- | src/cli/runtime/APersistentMap.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/runtime/APersistentMap.cs b/src/cli/runtime/APersistentMap.cs index 8c082d23..e107e857 100644 --- a/src/cli/runtime/APersistentMap.cs +++ b/src/cli/runtime/APersistentMap.cs @@ -31,7 +31,7 @@ override public bool Equals(Object obj) { if(obj == null)
return false;
- if(m.count() != count())
+ if(m.count() != count() || m.GetHashCode() != GetHashCode())
return false;
for(ISeq s = seq();s!=null;s = s.rest())
|