We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9f3f83 commit c4e0279Copy full SHA for c4e0279
src/clj/clojure/pprint/dispatch.clj
@@ -211,7 +211,7 @@
211
(when (next args)
212
((formatter-out "~:_"))))))
213
(recur (next args))))))
214
- (write-out reference)))
+ (when reference (write-out reference))))
215
216
(defn- pprint-ns
217
"The pretty print dispatch chunk for the ns macro"
test/clojure/test_clojure/pprint/test_pretty.clj
@@ -178,6 +178,7 @@ Usage: *hello*
178
(pprint-simple-code-list writer alis)))")
179
180
(code-block ns-macro-test
181
+ "(ns foobarbaz)"
182
"(ns slam.hound.stitch
183
(:use [slam.hound.prettify :only [prettify]]))"
184
0 commit comments