Commits

Shantanu Kumar  committed 8400d1e

fix issue in `assoc-readonly` - it was recursing wrongly into itself

  • Participants
  • Parent commits 58312ae

Comments (0)

Files changed (1)

File src/main/clj/org/bituf/clj_dbspec.clj

     (assoc-kvmap spec {:read-only (value flag)}))
   ([spec] {:post [(map? %)]
            :pre  [(map? spec)]}
-    (assoc-readonly spec)))
+    (assoc-readonly spec true)))
 
 
 (defn read-only?