Skip to content

Doesn't work on Babashka #957

@edenworky

Description

@edenworky

The cider.nrepl.print-method namespace [makes use of clojure.core/print-object'](https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/print_method.clj#L30) (and maybe print-methodtoo?). Of these, [the ClojureDocs](https://clojuredocs.org/clojure.core) listprint_methodas undocumented and doesn't listprint_objectat all, and indeed [theclojure/core.cljfile](https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj) definesprint_methodand usesprint_object` but doesn't define it.

In any case and for whatever reason, Babashka doesn't include a clojure.core/print-object function, and therefore trying to (require 'cider.nrepl) under a Babashka REPL throws a clojure.lang.ExceptionInfo: Unable to resolve var: clojure.core/print-object [at cider/nrepl/print_method.clj:37:1]. Since this happens on require, I can't figure out a way of configuring *pretty-objects* either, so for now I have no way of running cider on a Babashka nREPL server.

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