File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 852
852
(core/defmacro str
853
853
([] " " )
854
854
([x]
855
- (if (typed-expr? &env x '#{string number })
855
+ (if (typed-expr? &env x '#{string})
856
856
x
857
857
(string-expr (core/list 'js* " cljs.core.str.cljs$core$IFn$_invoke$arity$1(~{})" x))))
858
858
([x & ys]
859
859
(core/let [interpolate (core/fn [x]
860
- (if (typed-expr? &env x '#{string number clj-nil})
860
+ (if (typed-expr? &env x '#{string clj-nil})
861
861
" ~{}"
862
862
" cljs.core.str.cljs$core$IFn$_invoke$arity$1(~{})" ))
863
863
strs (core/->> (core/list* x ys)
3287
3287
argseq#))))
3288
3288
(if (:macro meta)
3289
3289
`(throw (js/Error.
3290
- (str " Invalid arity: " (- (alength (js-arguments )) 2 ))))
3290
+ (.join ( array " Invalid arity: " (- (alength (js-arguments )) 2 )) " " )))
3291
3291
`(throw (js/Error.
3292
- (str " Invalid arity: " (alength (js-arguments ))))))))))
3292
+ (.join ( array " Invalid arity: " (alength (js-arguments ))) " " ))))))))
3293
3293
~@(map #(fn-method name %) fdecl)
3294
3294
; ; optimization properties
3295
3295
(set! (. ~name ~'-cljs$lang$maxFixedArity) ~maxfa)
You can’t perform that action at this time.
0 commit comments