Missed an ast add; fix it

This commit is contained in:
Scott Richmond 2022-05-19 17:16:12 -04:00
parent cfe790b9c5
commit 8d2993637e

View File

@ -260,7 +260,7 @@
(let [path (:path ast)
name (:name ast)]
(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
(-> path
(slurp)