We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61308c7 commit 463de00Copy full SHA for 463de00
1 file changed
src/main/clojure/cljs/analyzer.cljc
@@ -2868,7 +2868,8 @@
2868
(pr-str analysis)))
2869
"json" (when-let [{:keys [writer write]} @transit]
2870
(write
2871
- (writer (FileOutputStream. cache-file) :json)
+ (writer (FileOutputStream. cache-file) :json
2872
+ transit-write-opts)
2873
analysis))))
2874
(when src
2875
(.setLastModified ^File cache-file (util/last-modified src))))))
@@ -2936,7 +2937,8 @@
2936
2937
cached-ns (case ext
2938
"edn" (edn/read-string (slurp cache))
2939
"json" (let [{:keys [reader read]} @transit]
- (read (reader (io/input-stream cache) :json))))]
2940
+ (read (reader (io/input-stream cache) :json
2941
+ transit-read-opts))))]
2942
(when (or *verbose* (:verbose opts))
2943
(util/debug-prn "Reading analysis cache for" (str res)))
2944
(swap! env/*compiler*
0 commit comments