lib/code/standard: hash no more divides object_id by 8
[nit.git] / lib / standard / kernel.nit
index 686334d..b2ac524 100644 (file)
@@ -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.