Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
fixup! Enable REPL source mapping and custom stack trace printing
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiardi committed Apr 5, 2018
1 parent 4efd015 commit 323bff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cljs/snapshot/lumo/repl.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@

(defn- demunge-protocol-fn
[demunge-maps munged-sym]
(let [[_ ns prot fn] (re-find #"(.*)\$(.*)\$(.*)\$arity\$.*" munged-sym)]
(let [[_ obj ns prot fn] (re-find #"(.*)\.(.*)\$(.*)\$(.*)\$arity\$.*" munged-sym)]
(when ns
(when-let [prot-sym (lookup-sym demunge-maps (str ns "$" prot))]
(when-let [fn-sym (lookup-sym demunge-maps (str ns "$" fn))]
Expand Down

0 comments on commit 323bff1

Please sign in to comment.