<< Back to previous view

[CLJ-682] cl-format: ~w throws an exception when not wrapped in a pretty-writer Created: 27/Nov/10  Updated: 01/Mar/13  Resolved: 31/Dec/10

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: Release 1.2
Fix Version/s: Release 1.3

Type: Defect Priority: Minor
Reporter: Tom Faulhaber Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

Attachments: File clj-682-patch.diff    
Patch: Code
Approval: Ok


(cl-format nil "hello: w%" '(a b c))

throws an exception because ~w is (kind of ironically) not marked :pretty in the cl-format definition.

Comment by Tom Faulhaber [ 29/Dec/10 1:34 AM ]

This one-line patch resolves the issue.

Comment by Tom Faulhaber [ 29/Dec/10 1:35 AM ]

OK, this is ready to be applied to master.

Generated at Wed Sep 20 15:11:54 CDT 2017 using JIRA 4.4#649-r158309.