File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7217,7 +7217,7 @@ reduces them without incurring seq initialization"
7217
7217
(let [kv (first extra-kvs)]
7218
7218
(aset ret i (-key kv))
7219
7219
(aset ret (inc i) (-val kv))
7220
- (recur (+ 2 seed-cnt ) (next extra-kvs)))
7220
+ (recur (+ 2 i ) (next extra-kvs)))
7221
7221
ret))))
7222
7222
7223
7223
(set! (.-createAsIfByAssoc PersistentArrayMap)
Original file line number Diff line number Diff line change 2043
2043
(is (= [11 0 ] (reset-vals! c 0 )))
2044
2044
(is (= 0 @c)))))
2045
2045
2046
- #_ (defn test-keys [& {:as opts, :keys [a b]}]
2046
+ (defn test-keys [& {:as opts, :keys [a b]}]
2047
2047
[a b opts])
2048
2048
2049
- #_ (deftest test-cljs-3299-trailing-keys
2049
+ (deftest test-cljs-3299-trailing-keys
2050
2050
(testing " verify proper handling of trailing keys"
2051
2051
(is (= (test-keys :a 1 , :b 2 )
2052
2052
[1 2 {:a 1 , :b 2 }]))
2055
2055
(is (= (test-keys {:a 1 , :b 2 , :c 3 })
2056
2056
[1 2 {:a 1 , :b 2 , :c 3 }]))
2057
2057
(is (= (test-keys :d 4 {:a 1 , :b 2 , :c 3 })
2058
- [1 nil {:d 4 , :a 1 , :c 3 , nil nil }]))))
2058
+ [1 2 {:d 4 , :a 1 , :b 2 , :c 3 }]))))
You can’t perform that action at this time.
0 commit comments