::defn-args spec incorrectly parses map body as a prepost rather than function body

Description

Reported by in #clojure-spec:

The current spec conforms function bodies with single maps as prepost conditions rather than function bodies, after the patch:

Patch: 0001-CLJ-2144-conform-map-fn-bodies-as-body-rather-than-a.patch

Screened by: Alex Miller

Environment

None

Activity

Show:
Nicola Mometto
February 16, 2017, 11:42 PM

An open question is whether we also want to make `repost` stricter as part of this patch, so that it will ensure that `re` and `ost` are a collection

Completed

Assignee

Unassigned

Reporter

Nicola Mometto

Labels

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Major
Configure