We're updating the issue view to help you get more done. 

[spec] s/keys explain-data :pred problem

Description

As reported in CLJ-2175, s/keys has an issue with reporting a valid resolved pred in explain-data:

1 2 3 4 5 (require '[clojure.spec.alpha :as s]) (-> (s/explain-data (s/keys :req [::x]) :a) ::s/problems first :pred) ;;=> map? ;;EXPECTED: clojure.core/map?

Patch: clj-2177.patch

Environment

None

Status

Assignee

Unassigned

Reporter

Alex Miller

Labels

Approval

Ok

Patch

Code and Test

Fix versions

Affects versions

Release 1.9

Priority

Major