Make test for keyword more robust
This commit is contained in:
parent
2f6e81edb1
commit
ceb8a2aa63
|
@ -171,7 +171,7 @@
|
|||
|
||||
(throw (ex-info "Match Error: No match found" {:fn-name (:name lfn)})))))
|
||||
|
||||
(= clojure.lang.Keyword (type lfn))
|
||||
(keyword? lfn)
|
||||
(if (= 2 (count tuple))
|
||||
(let [target (second tuple) kw lfn]
|
||||
(if (::data/struct target)
|
||||
|
|
Loading…
Reference in New Issue
Block a user