Skip to content

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

Open

Description

@athos
=> (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).

Activity

  1. marco-m commented on Jul 11, 2018

    @marco-m

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

  2. athos commented on Jul 12, 2018

    @athos
    OwnerAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions