From 39b9aa26885fff6f5edd8c0fe96cfdbae53c9d06 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 20 Aug 2015 12:50:50 -0400 Subject: [PATCH] lib/code/standard: hash no more divides object_id by 8 Signed-off-by: Jean Privat --- lib/standard/kernel.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/standard/kernel.nit b/lib/standard/kernel.nit index 686334d..b2ac524 100644 --- 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. - fun hash: Int do return object_id / 8 + fun hash: Int do return object_id end # The main class of the program. -- 1.7.9.5