Skip to content

Commit 5434c6f

Browse files
committed
switch to setters
1 parent 40735e5 commit 5434c6f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,13 @@
352352
;; name is not actually used by Closure in :modules case,
353353
;; but we need to provide _something_ for Closure to not
354354
;; complain
355-
(set! (.sourceMapOutputPath compiler-options)
356-
(str (io/file (util/output-directory opts)
357-
"cljs_modules.map")))
358-
(set! (.sourceMapOutputPath compiler-options)
359-
(:source-map opts)))
360-
(set! (.sourceMapDetailLevel compiler-options)
361-
SourceMap$DetailLevel/ALL)
362-
(set! (.sourceMapFormat compiler-options)
363-
SourceMap$Format/V3))
355+
(.setSourceMapOutputPath compiler-options
356+
(str (io/file (util/output-directory opts)
357+
"cljs_modules.map")))
358+
(.setSourceMapOutputPath compiler-options
359+
(:source-map opts)))
360+
(.setSourceMapDetailLevel compiler-options SourceMap$DetailLevel/ALL)
361+
(.setSourceMapFormat compiler-options SourceMap$Format/V3))
364362
(do
365363
(.setOptionsForCompilationLevel level compiler-options)
366364
(set-options opts compiler-options)

0 commit comments

Comments
 (0)