Fix final-freeze-fallback arg order

This commit is contained in:
Peter Taoussanis 2015-10-03 11:26:19 +07:00
parent 2df9cb80d6
commit cf38d6f111

View file

@ -356,7 +356,7 @@
:else ; Fallback #3: *final-freeze-fallback*
(if-let [ffb *final-freeze-fallback*]
(ffb x out)
(ffb out x)
(throw (ex-info (format "Unfreezable type: %s %s" (type x) (str x))
{:type (type x)
:as-str (enc/pr-edn x)}))))))