We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46d5aac commit 245d0daCopy full SHA for 245d0da
1 file changed
src/java_time/impl/load.cljc
@@ -35,11 +35,8 @@
35
(def ^Runnable async-load-fast-path
36
(bound-fn []
37
(load-java-time)
38
- (run! (fn [sym]
39
- (let [api (resolve (symbol "java-time" (name sym)))
40
- impl (resolve sym)]
41
- (alter-var-root api (constantly @impl))
42
- (alter-meta! api vary-meta (fnil into {}) (select-keys (meta impl) [:doc :arglists :deprecated]))))
+ (run! #(alter-var-root (resolve (symbol "java-time" (name %)))
+ (constantly @(resolve %)))
43
@slow-path-vars)))
44
45
(defmacro when-class [clstr & body]
0 commit comments