Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails with Records when inserted keys #3

Closed
ikitommi opened this issue Nov 9, 2018 · 1 comment
Closed

Fails with Records when inserted keys #3

ikitommi opened this issue Nov 9, 2018 · 1 comment

Comments

@ikitommi
Copy link
Contributor

ikitommi commented Nov 9, 2018

(defrecord ARecord [])

(diff/diff (map->ARecord {}) (map->ARecord {:a 1}))
; Exception: java.lang.ClassCastException: lambdaisland.deep_diff.diff_test.ARecord cannot be cast to clojure.lang.IFn at clojure.core$juxt$fn__5544.invoke (core.clj:2586)
;    ...
;    lambdaisland.deep_diff.diff$diff_map.invokeStatic (diff.clj:125)
;    lambdaisland.deep_diff.diff$diff_map.invoke (diff.clj:106)
;    lambdaisland.deep_diff.diff$eval2918$fn__2919.invoke (diff.clj:162)
;    lambdaisland.deep_diff.diff$eval2796$fn__2797$G__2787__2804.invoke (diff.clj:11)
;    lambdaisland.deep_diff.diff$diff.invokeStatic (diff.clj:136)
;    lambdaisland.deep_diff.diff$diff.invoke (diff.clj:134)
;    lambdaisland.deep_diff.diff_test$fn__16191$fn__16204.invoke (diff_test.clj:107)
;    lambdaisland.deep_diff.diff_test$fn__16191.invokeStatic (diff_test.clj:33)
;    lambdaisland.deep_diff.diff_test/fn (diff_test.clj:19)
@plexus
Copy link
Member

plexus commented Nov 10, 2018

Released in {:mvn/version "0.0-25"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants