Skip to content

Don't fail clients for whitespace after a value - #16

Merged
bbatsov merged 1 commit into
mainfrom
value-whitespace
Oct 24, 2026
Merged

bbatsov merged 1 commit into
mainfrom
value-whitespace

Conversation

@bbatsov

@bbatsov bbatsov commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Babashka 1.13.227 started failing calva.eval and conjure.eval with the value "3\n". That's what cider-nrepl's pprint gives Calva and Conjure on the JVM too, since orchard.pp ends every value with a newline, so it isn't worth even a warning.

Calva and Conjure ask for values printed with cider-nrepl's pprint,
which ends every value with a newline (orchard.pp prints one after it).
Babashka 1.13.227 implements that printer the same way, so calva.eval,
conjure.eval and their load-file checks failed it for "3\n", which is
just what nREPL with cider-nrepl gives those clients too. Client profile
steps now ignore whitespace after a value.
@bbatsov
bbatsov merged commit 7d27aab into main Oct 24, 2026
5 checks passed
@bbatsov
bbatsov deleted the value-whitespace branch October 24, 2026 07:58
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