Skip to content

CLJS-3480: Browser REPL - (println "Expected:") breaks REPL#314

Merged
swannodette merged 1 commit into
masterfrom
cljs-3480/brepl-print-bug
May 26, 2026
Merged

CLJS-3480: Browser REPL - (println "Expected:") breaks REPL#314
swannodette merged 1 commit into
masterfrom
cljs-3480/brepl-print-bug

Conversation

@swannodette
Copy link
Copy Markdown
Member

  • remove the pr-str in clojure.browser/repl-print print etc will set print-readably to false, so this can't possibly be right. This appears to be vestigial from the early days of bREPL development
  • in cljs.repl.browser/handle-post :print, drop edn/read-string the server really doesn't know anything about printing ClojureScript, it should just print the value given.
  • running tests interactively in bREPL now behaves the same as under the Node.js REPL

- remove the pr-str in clojure.browser/repl-print
  print etc will set *print-readably* to false, so this can't possibly
  be right. This appears to be vestigial from the early days of
  bREPL development
- in cljs.repl.browser/handle-post :print, drop edn/read-string
  the server really doesn't know anything about printing
  ClojureScript, it should just print the value given.
- running tests interactively in bREPL now behaves the same as
  under the Node.js REPL
@swannodette swannodette merged commit 5e0d80d into master May 26, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant