Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Oct 23, 2024
1 parent fbdef3f commit fe7d8de
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/darkleaf/di/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@
(defn- seq-contains? [xs x]
(not (neg? (index-of xs x))))

(defn ^:dynamic *next-id*
""
[]
(throw (IllegalStateException. "Unbound")))
(defn ^:dynamic *next-id* []
(throw (IllegalStateException. "Attempting to call unbound `di/*next-id*`")))

(def ^:private dependency-type-priority
{:required 1
Expand Down

0 comments on commit fe7d8de

Please sign in to comment.