Skip to content

Commit 675ac2c

Browse files
committed
fix: avoid clashes with x deftype
1 parent 5ba49b2 commit 675ac2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
(is (.startsWith (name (:name chunk)) "chunk"))
9797
(is (= clojure.lang.IChunk (:tag chunk)))))
9898

99-
(def ^:dynamic x)
99+
(def ^:dynamic *test-dynamic*)
100100
(deftest set!-dynamic-var
101-
(is (ast1 (set! x 1))))
101+
(is (ast1 (set! *test-dynamic* 1))))
102102

103103
(deftest analyze-proxy
104104
(is (ast1 (proxy [Object] []))))

0 commit comments

Comments
 (0)