ClojureScript

missing spaces when printing the same thing more than once

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    9ad79e1c
  • Patch:
    Code and Test

Description

E.g. (println 1 1) prints "11\n" instead of "1 1\n".

Here's the culprit:
https://github.com/clojure/clojurescript/blob/master/src/cljs/cljs/core.cljs#L6136-6137

Activity

Hide
Brandon Bloom added a comment -
Show
Brandon Bloom added a comment - Both pr-with-opts and pr-sb are affected. See: https://github.com/clojure/clojurescript/blob/master/src/cljs/cljs/core.cljs#L6107
Hide
Brandon Bloom added a comment -

Patch here: CLJS-321

Show
Brandon Bloom added a comment - Patch here: CLJS-321
Hide
Brandon Bloom added a comment -

Attaching a simple patch for this bug instead of fixing it along side with-out-str

Show
Brandon Bloom added a comment - Attaching a simple patch for this bug instead of fixing it along side with-out-str
Brandon Bloom made changes -
Field Original Value New Value
Patch Code and Test [ 10002 ]
Attachment cljs-319.patch [ 11341 ]
Labels patch patch,
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

  • Assignee:
    Unassigned
    Reporter:
    Tom Jack
Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: