From 57ae6e4dcd8b7881431f2c02e93086f544d5a8a3 Mon Sep 17 00:00:00 2001 From: Mandimby RAVELOARINJAKA Date: Sat, 19 Nov 2022 20:32:35 -0500 Subject: [PATCH] use the method toSymbol instead of using the attributes ns and sym --- src/hyperfiddle/rcf/analyzer.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperfiddle/rcf/analyzer.clj b/src/hyperfiddle/rcf/analyzer.clj index 0a9d45a..2728745 100644 --- a/src/hyperfiddle/rcf/analyzer.clj +++ b/src/hyperfiddle/rcf/analyzer.clj @@ -88,7 +88,7 @@ (defn var-sym [v] (cond - (var? v) (symbol (name (.name (.ns v))) (name (.sym v))) + (var? v) (.toSymbol v) (var?' v) (symbol (str (:ns v)) (str (:name v))))) (defmulti macroexpand-hook (fn [the-var _&form _&env _args] (var-sym the-var)))