Skip to content

Commit 103aa6e

Browse files
author
dnolen
committed
CLJS-1671: Bad cljs.spec interactive instrumentation session
this commit and previous commit solve the issue
1 parent 13e1997 commit 103aa6e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/cljs/cljs/spec.cljs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,8 @@
340340
(when-let [{:keys [raw wrapped]} (get @instrumented-vars v)]
341341
(let [current @v]
342342
(when (= wrapped current)
343-
raw))
344-
(swap! instrumented-vars dissoc v))
345-
v))
343+
(swap! instrumented-vars dissoc v)
344+
raw)))))
346345

347346
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; impl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
348347
(defn- recur-limit? [rmap id path k]

0 commit comments

Comments
 (0)