Commit f826c31
CLJS-1817: Strange result when assoc'ing 0 to persistent hash map
there was a bug in the port of Clojure's PersistentHashMap. When looking
up a node in a BitmapIndexedNode, we need to increment the found index
to compare the value. The relevant line in Clojure's codebase is:
https://github.com/clojure/clojure/blob/e547d/src/jvm/clojure/lang/PersistentHashMap.java#L9401 parent 6da4d77 commit f826c31
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6888 | 6888 | | |
6889 | 6889 | | |
6890 | 6890 | | |
6891 | | - | |
| 6891 | + | |
6892 | 6892 | | |
6893 | 6893 | | |
6894 | 6894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments