From fe7d8de0802fdccfeb371e725892f4c8068b6c26 Mon Sep 17 00:00:00 2001 From: Mikhail Kuzmin Date: Wed, 23 Oct 2024 14:04:47 +0400 Subject: [PATCH] wip --- src/darkleaf/di/core.clj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/darkleaf/di/core.clj b/src/darkleaf/di/core.clj index a36f0937..2e33f7c5 100644 --- a/src/darkleaf/di/core.clj +++ b/src/darkleaf/di/core.clj @@ -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