Commit d96bb1b
CLJS-2113: nth function produces different results from clojure when using a negative index on a sequence
Fix range’s implementation of IIndexed for negative values of n1 parent d6f0ec1 commit d96bb1b
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9174 | 9174 | | |
9175 | 9175 | | |
9176 | 9176 | | |
9177 | | - | |
| 9177 | + | |
9178 | 9178 | | |
9179 | | - | |
| 9179 | + | |
9180 | 9180 | | |
9181 | 9181 | | |
9182 | 9182 | | |
9183 | | - | |
| 9183 | + | |
9184 | 9184 | | |
9185 | | - | |
| 9185 | + | |
9186 | 9186 | | |
9187 | 9187 | | |
9188 | 9188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
1340 | 1346 | | |
1341 | 1347 | | |
1342 | 1348 | | |
| |||
0 commit comments