Skip to content

ClojureScript compat - pt. 2 (minor) #57

@vemv

Description

@vemv

aka the pending items from https://github.com/nedap/utils.spec/pull/54 :

  • cover consistent-tagging? and other similar fns
  • Create a specific test for 37e9456 (instance-spec: also check protocols, for cljs)
  • extract-specs-from-metadata can return :type-annotation js/Number (as opposed to 'number), as reflected in unit.nedap.utils.spec.impl.parsing
  • Ensure unit.nedap.utils.speced.defn.pre-post is in sync
  • Create assert for ;; in CLJS, arglists don't ever get a :tag.
  • Upgrade :pres to use check!
  • Maybe: if there's a primitive hint, turn :pres into :posts
    • Rationale: Note that boolean return values will be turned into Booleans, chars will become Characters, and numeric primitives will become Numbers unless they are immediately consumed by a method taking a primitive. https://clojure.org/reference/java_interop
  • README for cljs:
    • mention possible need for requiring Expound

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