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 852852(core/defmacro str
853853 ([] " " )
854854 ([x]
855- (if (typed-expr? &env x '#{string number })
855+ (if (typed-expr? &env x '#{string})
856856 x
857857 (string-expr (core/list 'js* " cljs.core.str.cljs$core$IFn$_invoke$arity$1(~{})" x))))
858858 ([x & ys]
859859 (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})
861861 " ~{}"
862862 " cljs.core.str.cljs$core$IFn$_invoke$arity$1(~{})" ))
863863 strs (core/->> (core/list* x ys)
32873287 argseq#))))
32883288 (if (:macro meta)
32893289 `(throw (js/Error.
3290- (str " Invalid arity: " (- (alength (js-arguments )) 2 ))))
3290+ (.join ( array " Invalid arity: " (- (alength (js-arguments )) 2 )) " " )))
32913291 `(throw (js/Error.
3292- (str " Invalid arity: " (alength (js-arguments ))))))))))
3292+ (.join ( array " Invalid arity: " (alength (js-arguments ))) " " ))))))))
32933293 ~@(map #(fn-method name %) fdecl)
32943294 ; ; optimization properties
32953295 (set! (. ~name ~'-cljs$lang$maxFixedArity) ~maxfa)
You can’t perform that action at this time.
0 commit comments