Skip to content

Unable to parse spec with s/nonconforming #263

@SevereOverfl0w

Description

@SevereOverfl0w
user=> (spec-tools.parse/parse-spec (s/nonconforming int?))
{:type nil}

I believe this defmethod is correct though, s/nonconforming only needs to delegate immediately to "pass through" the spec it is wrapping.

(defmethod spec-tools.parse/parse-form 'clojure.spec.alpha/nonconforming [_ form options]
  (spec-tools.parse/parse-spec-with-spec-ref (second form) options))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions