Commits

Meikel Brandmeyer committed 6a4562b

Do not add the Var but only the Symbol of the bundle to namespace metadata

  • Participants
  • Parent commits 7dd9eee

Comments (0)

Files changed (1)

src/main/clojure/j18n/core.clj

   ([bundle-name package]
    `(do
       (declare ~bundle-name)
-      (alter-meta! *ns* assoc ::bundle (var ~bundle-name))
+      (alter-meta! *ns* assoc ::bundle (symbol (name (ns-name *ns*)) ~(name bundle-name)))
       (swap! @#'bundles assoc (var ~bundle-name) ~package)
       (var ~bundle-name))))