Skip to content

Commit

Permalink
v0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
philoskim committed Apr 11, 2018
1 parent 9f1da82 commit bf21714
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 35 deletions.
14 changes: 11 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ To include `debux` in your project for development, simply add the following to

[source]
....
[philoskim/debux "0.4.6"]
[philoskim/debux "0.4.7"]
....

and this to your production dependencies (make sure they are production only):

[source]
....
[philoskim/debux-stubs "0.4.6"]
[philoskim/debux-stubs "0.4.7"]
....


Expand All @@ -64,6 +64,14 @@ and this to your production dependencies (make sure they are production only):
NOTE: You can see _All change logs since v0.3.0_
https://github.com/philoskim/debux/tree/master/doc/change-logs.adoc[here].

* v0.4.7
** The following exception error is fixed.
+
[listing]
----
CompilerException java.lang.Exception: No namespace: cljs.core found, compiling:(debux/cs/macro_types.cljc:5:1)
----
* v0.4.6
** The following missing macros of `cljs.core` are added.
Expand Down Expand Up @@ -2448,7 +2456,7 @@ an example about running the link:https://github.com/bhauman/lein-figwheel[figwh
(defproject example "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.854"]
[philoskim/debux "0.4.6"]]
[philoskim/debux "0.4.7"]]
:plugins [[lein-cljsbuild "1.1.6"]
[lein-figwheel "0.5.10"]]
:source-paths ["src/clj"]
Expand Down
8 changes: 8 additions & 0 deletions doc/change-logs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
:source-highlighter: coderay
:sectnums:

* v0.4.7
** The following exception error is fixed.
+
[listing]
----
CompilerException java.lang.Exception: No namespace: cljs.core found, compiling:(debux/cs/macro_types.cljc:5:1)
----
* v0.4.6
** The following missing macros of `cljs.core` are added.
*** `:skip-form-itself-type`
Expand Down
5 changes: 5 additions & 0 deletions example/.lein-repl-history
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ dbg
(dbg 10)
(dbg (+ 2 10))
(dbg "hello")
(use 'debux.core)
(dbg (+ 10 200))
(dbg 1)
(use 'debux.core)
(dbgn (+ 2 3 (* 4 5)))
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject philoskim/debux "0.4.6"
(defproject philoskim/debux "0.4.7"
:description "Debux library for debugging Clojure and ClojureScript"
:url "https://github.com/philoskim/debux"
:license {"Eclipse Public License"
Expand Down
62 changes: 31 additions & 31 deletions src/debux/cs/macro_types.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,44 @@
(:require [clojure.set :as set]
[debux.common.util :as ut] ))

(alias 'core 'cljs.core)

(def macro-types*
(atom {:def-type `#{def core/defonce}
:defn-type `#{core/defn core/defn-}
:fn-type `#{core/fn fn*}
(atom {:def-type '#{def cljs.core/defonce}
:defn-type '#{cljs.core/defn cljs.core/defn-}
:fn-type '#{cljs.core/fn fn*}

:let-type
`#{core/let core/binding core/dotimes core/if-let core/if-some core/loop
core/when-first core/when-let core/when-some core/with-out-str
core/with-redefs}
:letfn-type `#{core/letfn}
:loop-type `#{core/loop}
'#{cljs.core/let cljs.core/binding cljs.core/dotimes cljs.core/if-let
cljs.core/if-some cljs.core/loop cljs.core/when-first cljs.core/when-let
cljs.core/when-some cljs.core/with-out-str cljs.core/with-redefs}
:letfn-type '#{cljs.core/letfn}
:loop-type '#{cljs.core/loop}

:for-type `#{core/for core/doseq}
:case-type `#{core/case}

:skip-arg-1-type `#{core/this-as set!}
:skip-arg-2-type `#{core/as->}
:skip-arg-1-2-type `#{}
:skip-arg-2-3-type `#{core/amap core/areduce}
:skip-arg-1-3-type `#{core/defmethod}
:for-type '#{cljs.core/for cljs.core/doseq}
:case-type '#{cljs.core/case}

:skip-arg-1-type '#{cljs.core/this-as set!}
:skip-arg-2-type '#{cljs.core/as->}
:skip-arg-1-2-type '#{}
:skip-arg-2-3-type '#{cljs.core/amap cljs.core/areduce}
:skip-arg-1-3-type '#{cljs.core/defmethod}
:skip-form-itself-type
`#{catch core/comment core/declare core/defmacro core/defmulti core/defprotocol
core/defrecord core/deftype core/extend-protocol core/extend-type finally
core/goog-define core/import core/import-macros core/js-comment
core/js-inline-comment core/memfn new quote core/refer-clojure core/reify
core/require core/require-macros core/simple-benchmark core/specify core/specify!
throw core/use core/use-macros var

debux.cs.core/dbg debux.cs.core/dbgn
debux.cs.core/clog debux.cs.core/clogn}
'#{catch cljs.core/comment cljs.core/declare cljs.core/defmacro
cljs.core/defmulti cljs.core/defprotocol cljs.core/defrecord
cljs.core/deftype cljs.core/extend-protocol cljs.core/extend-type
finally cljs.core/goog-define cljs.core/import cljs.core/import-macros
cljs.core/js-comment cljs.core/js-inline-comment cljs.core/memfn
new quote cljs.core/refer-clojure cljs.core/reify cljs.core/require
cljs.core/require-macros cljs.core/simple-benchmark cljs.core/specify
cljs.core/specify! throw cljs.core/use cljs.core/use-macros var

debux.cs.cljs.core/dbg debux.cs.cljs.core/dbgn
debux.cs.cljs.core/clog debux.cs.cljs.core/clogn}

:expand-type
`#{core/.. core/-> core/->> core/doto
core/cond-> core/cond->> core/condp core/import
core/some-> core/some->>}
:dot-type `#{.} }))
'#{cljs.core/.. cljs.core/-> cljs.core/->> cljs.core/doto
cljs.core/cond-> cljs.core/cond->> cljs.core/condp cljs.core/import
cljs.core/some-> cljs.core/some->>}
:dot-type '#{.} }))


(defn- merge-symbols [old-symbols new-symbols env]
Expand Down

0 comments on commit bf21714

Please sign in to comment.