-
-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
The following code gives the printout x: 2
Expected printout x: 1
(ns test)
(defn run-defonce [v] (defonce x v))
(run-defonce 1)
(run-defonce 2)
(println "x: " x)I have tried the same code in the clojure clojurescript compiler, with the advanced mode setting turned on, without being able to reproduce.
Metadata
Metadata
Assignees
Labels
No labels