我有 .cljc 文件在 JVM Clojure 中运行良好,但在 ClojureScript 中却得到了这个错误
---- Could not Analyze src/cljc/zm/ops1OP.cljc line:1 column:1 ----
Don't know how to create ISeq from: clojure.lang.Keyword
1 (ns zm.ops1OP
^--- Don't know how to create ISeq from: clojure.lang.Keyword
2 "1OP operations"
3 #?(:cljs (:require-macros (link: zm.util :refer [v4-5)]))
4 (:require (link: zm.memory :refer :all)
---- Analysis Error : Please see src/cljc/zm/ops1OP.cljc ----
问题在于 :refer :all,回想起来错误信息很合理,但CLJS可以做得更好,指出这个错误。