Skip to content

Arity exception when calling om.next/reader and om.next/writer with zero arguments in Clojure #910

@borkdude

Description

@borkdude

Repro using Clojure on the JVM:

$ lein repl
...
user=> (require '[om.next :as n])
nil
user=> (n/reader)

ArityException Wrong number of args (0) passed to: transit/reader  clojure.lang.AFn.throwArity (AFn.java:429)

user=> (n/writer)

ArityException Wrong number of args (0) passed to: transit/writer  clojure.lang.AFn.throwArity (AFn.java:429)

Errors detected with clj-kondo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions