<< Back to previous view

[CLJS-319] missing spaces when printing the same thing more than once Created: 18/Jun/12  Updated: 27/Jul/13  Resolved: 05/Jul/12

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Tom Jack Assignee: Unassigned
Resolution: Completed Votes: 1
Labels: patch, patch,
Environment:

9ad79e1c


Attachments: Text File cljs-319.patch    
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



 Comments   
Comment by Brandon Bloom [ 18/Jun/12 2:14 AM ]

Both pr-with-opts and pr-sb are affected. See:

https://github.com/clojure/clojurescript/blob/master/src/cljs/cljs/core.cljs#L6107

Comment by Brandon Bloom [ 18/Jun/12 3:16 AM ]

Patch here: CLJS-321

Comment by Brandon Bloom [ 21/Jun/12 6:19 PM ]

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

Comment by David Nolen [ 05/Jul/12 3:06 PM ]

fixed, http://github.com/clojure/clojurescript/commit/280ea95938883f97be82267d109342178a2e47aa

Generated at Tue Sep 23 19:42:49 CDT 2014 using JIRA 4.4#649-r158309.