Clojure

cl-format: ~w throws an exception when not wrapped in a pretty-writer

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: Release 1.2
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Ok

Description

(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.

Activity

Hide
Tom Faulhaber added a comment -

This one-line patch resolves the issue.

Show
Tom Faulhaber added a comment - This one-line patch resolves the issue.
Hide
Tom Faulhaber added a comment -

OK, this is ready to be applied to master.

Show
Tom Faulhaber added a comment - OK, this is ready to be applied to master.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: