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

(pinpoint (s/keys* ...) <input>) fails #3

Open
athos opened this issue Oct 13, 2017 · 0 comments
Open

(pinpoint (s/keys* ...) <input>) fails #3

athos opened this issue Oct 13, 2017 · 0 comments
Labels

Comments

@athos
Copy link
Owner

athos commented Oct 13, 2017

=> (s/def ::x integer?)
:user/x
=> (pinpoint (s/keys* :req [::x]) [::x :foo])
[PINPOINTER] Failed to analyze the spec errors, and will fall back to s/explain-printer

In: [:user/x] val: :foo fails spec: :user/x at: [:user/x] predicate: integer?
nil
=> (pinpoint (s/keys* :req [::x]) [::x :foo] {:fallback-on-error false})

NullPointerException   clojure.core/deref-future (core.clj:2297)
=> 

This is due to CLJ-2143.

At the moment, Pinpointer is NOT supporting s/keys* (at least until CLJ-2143 is fixed).

@athos athos added the spec bug label Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant