Преглед изворни кода

profile macro should expand in clj

Adam Schmideg пре 5 година
родитељ
комит
2cc4418fd0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/frontend/util.cljc

+ 1 - 1
src/main/frontend/util.cljc

@@ -1070,7 +1070,7 @@
 
 ;; Copied from https://github.com/tonsky/datascript-todo
 (defmacro profile [k & body]
-  #?(:cljs
+  #?(:clj
       `(if goog.DEBUG
          (let [k# ~k]
            (.time js/console k#)