Skip to content

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

Open
@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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