File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 973973 (if (core/symbol? x)
974974 (core/let [x (core/cond-> (:name (cljs.analyzer/resolve-var &env x))
975975 (= " js" (namespace x)) name)
976- segs (string/split (core/str (string/replace (core/str x) " /" " ." )) #"\. " )
976+ segs (string/split (core/str (string/replace-first (core/str x) " /" " ." )) #"\. " )
977977 n (count segs)
978978 syms (map
979979 #(vary-meta (symbol " js" (string/join " ." %))
Original file line number Diff line number Diff line change 18781878(deftest test-cljs-3333
18791879 (defonce not-native 17 ) ; ; Intentionally matching a core name
18801880 (is (== 17 not-native)))
1881+
1882+ (deftest test-cljs-3334
1883+ (is (exists? /))
1884+ (is (exists? cljs.core//))
1885+ (is (not (exists? cljs.core-test//))))
You can’t perform that action at this time.
0 commit comments