Commit e024283
CLJS-1818: (hash false) returns different value from Clojure
mirrors Clojure's and JVM's behavior of returning fixed prime numbers
as the hashCode of true and false.
http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html#hashCode%28%291 parent f826c31 commit e024283
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
906 | 909 | | |
907 | | - | |
| 910 | + | |
908 | 911 | | |
909 | 912 | | |
910 | 913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
0 commit comments