Просмотр исходного кода

profile macro should expand in clj

Adam Schmideg 5 лет назад
Родитель
Сommit
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#)