Check freezable? against atom type

This commit is contained in:
Peter Taoussanis 2014-02-16 19:09:02 +07:00
parent 9ec458f742
commit 107cc53f65

View file

@ -224,4 +224,6 @@
(freezable? (.getBytes "foo"))
(freezable? (java.util.Date.) {:allow-clojure-reader? true})
(freezable? (Exception. "_") {:allow-clojure-reader? true})
(freezable? (Exception. "_") {:allow-java-serializable? true}))
(freezable? (Exception. "_") {:allow-java-serializable? true})
(freezable? (atom {}) {:allow-clojure-reader? true
:allow-java-serializable? true}))