Missed an ast add; fix it
This commit is contained in:
parent
cfe790b9c5
commit
8d2993637e
|
@ -260,7 +260,7 @@
|
||||||
(let [path (:path ast)
|
(let [path (:path ast)
|
||||||
name (:name ast)]
|
name (:name ast)]
|
||||||
(if (contains? @ctx name)
|
(if (contains? @ctx name)
|
||||||
(throw (ex-info (str "Name " name " is alrady bound") {}))
|
(throw (ex-info (str "Name " name " is alrady bound") {:ast ast}))
|
||||||
(let [result ;; TODO: add any error handling at all
|
(let [result ;; TODO: add any error handling at all
|
||||||
(-> path
|
(-> path
|
||||||
(slurp)
|
(slurp)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user