nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97eccaa
)
lib/code/standard: hash no more divides object_id by 8
author
Jean Privat
<jean@pryen.org>
Thu, 20 Aug 2015 16:50:50 +0000
(12:50 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 20 Aug 2015 16:50:50 +0000
(12:50 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/kernel.nit
patch
|
blob
|
history
diff --git
a/lib/standard/kernel.nit
b/lib/standard/kernel.nit
index
686334d
..
b2ac524
100644
(file)
--- a/
lib/standard/kernel.nit
+++ b/
lib/standard/kernel.nit
@@
-221,7
+221,7
@@
interface Object
# and a cause of bugs.
#
# Without redefinition, `hash` is based on the `object_id` of the instance.
# and a cause of bugs.
#
# Without redefinition, `hash` is based on the `object_id` of the instance.
- fun hash: Int do return object_id / 8
+ fun hash: Int do return object_id
end
# The main class of the program.
end
# The main class of the program.