Skip to content

Commit d6f0ec1

Browse files
mfikesswannodette
authored andcommitted
CLJS-2115: Pass not-found in the native-satisfies? branch of nth
1 parent fb14b18 commit d6f0ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ reduces them without incurring seq initialization"
18131813
(linear-traversal-nth coll n not-found)
18141814

18151815
(native-satisfies? IIndexed coll)
1816-
(-nth coll n)
1816+
(-nth coll n not-found)
18171817

18181818
:else
18191819
(throw (js/Error. (str "nth not supported on this type "

0 commit comments

Comments
 (0)