[CLJS-319] missing spaces when printing the same thing more than once Created: 18/Jun/12 Updated: 05/Jul/12 Resolved: 05/Jul/12 |
|
| Status: | Resolved |
| 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: |
|
| Patch: | Code and Test |
| Description |
|
E.g. (println 1 1) prints "11\n" instead of "1 1\n". Here's the culprit: |
| 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: |
| 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 |