Skip to content

Commit 7c4c3f3

Browse files
committed
iterator bind case missing from map proxy
1 parent d270939 commit 7c4c3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/proxy.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
map-handler #js {:get (fn [^cljs.core/ILookup target prop receiver]
8383
(cond
8484
(identical? (. Symbol -iterator) prop)
85-
(unchecked-get target prop)
85+
(.bind (unchecked-get target prop) target)
8686

8787
:else (js/__ctor (-lookup target (cache-key-fn prop)))))
8888

0 commit comments

Comments
 (0)