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/& ...) <input>) fails #4

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

(pinpoint (s/& ...) <input>) fails #4

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

Comments

@athos
Copy link
Owner

athos commented Oct 13, 2017

=> (pinpoint (s/& integer? even?) [1])
[PINPOINTER] Failed to analyze the spec errors, and will fall back to s/explain-printer

In: [0] val: 1 fails predicate: even?
nil
=> (pinpoint (s/& integer? even?) [1] {:fallback-on-error false})

IllegalArgumentException Don't know how to create ISeq from: clojure.core$integer_QMARK_  clojure.lang.RT.seqFrom (RT.java:550)
=> 

This is due to CLJ-2152. Also, CLJ-2178 potentially causes a similar issue which may be shadowed by CLJ-2152.

At the moment, Pinpointer is NOT supporting s/& (at least until CLJ-2152 is fixed).

@athos athos added the spec bug label Oct 13, 2017
@marco-m
Copy link

marco-m commented Jul 11, 2018

Update: CLJ-2152 is closed as duplicate of CLJ-2178, and CLJ-2178 is resolved in clojure.spec spec.alpha-0.2.168.

@athos
Copy link
Owner Author

athos commented Jul 12, 2018

Hi, thank you for pointing it out, @marco-m!

At the moment I'm working on spectrace, which is the analyzer Pinpointer is using under the hood, and it still needs a little more tweaks to adapt the changes updated in spec 0.2.168. So, please be patient until this issue is resolved soon after finishing that 🙇

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

2 participants