From c3eb6e7671624914725fcd50c75bcee788d8e22c Mon Sep 17 00:00:00 2001 From: Nicola Mometto Date: Fri, 18 Oct 2024 14:25:44 +0100 Subject: [PATCH] chore: add test --- src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj b/src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj index 7828ac0..8fc501b 100644 --- a/src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj +++ b/src/test/clojure/clojure/tools/analyzer/jvm/core_test.clj @@ -108,3 +108,6 @@ (deftest analyze+eval-context-test (let [do-ast (ana.jvm/analyze+eval '(do 1 2 3))] (is (= :ctx/statement (-> do-ast :statements first :env :context))))) + +(deftest array_class + (is (ast1 (fn [^{:tag int/2} x] (instance? int/2 x)))))