Check freezable? against atom type
This commit is contained in:
parent
9ec458f742
commit
107cc53f65
1 changed files with 3 additions and 1 deletions
|
|
@ -224,4 +224,6 @@
|
||||||
(freezable? (.getBytes "foo"))
|
(freezable? (.getBytes "foo"))
|
||||||
(freezable? (java.util.Date.) {:allow-clojure-reader? true})
|
(freezable? (java.util.Date.) {:allow-clojure-reader? true})
|
||||||
(freezable? (Exception. "_") {: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}))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue