Skip to content

Commit 3f65ac1

Browse files
committed
preserve 1.9 support
1 parent 107e0bc commit 3f65ac1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compojure/api/meta.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(ns compojure.api.meta
22
(:require [clojure.edn :as edn] ;; TODO load lazily
3+
[clojure.pprint :as pp] ;;TODO load lazily
34
[compojure.api.common :refer [extract-parameters]]
45
[compojure.api.middleware :as mw]
56
[compojure.api.routes :as routes]
@@ -1025,8 +1026,7 @@
10251026
:print)
10261027
_ (when (:verbose coach)
10271028
(println "The following forms were not inferred static:")
1028-
((requiring-resolve 'clojure.pprint/pprint)
1029-
@a))
1029+
(pp/pprint @a))
10301030
msg (str "This looks like it could be a static context: " (pr-str {:form &form :meta (meta &form)})
10311031
"\n\n"
10321032
"If you intend for the body of this context to be evaluated on every request, please "

0 commit comments

Comments
 (0)