diff options
author | Tom Faulhaber <git_net@infolace.com> | 2009-12-11 00:07:33 -0800 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2009-12-11 00:07:33 -0800 |
commit | e5b7819ef66410a87b8072417dc2f09ac4ddb03f (patch) | |
tree | 2b5c6187133f4adeace1662d5cec6e574a3b5c2d /src/clojure/contrib/repl_utils.clj | |
parent | eb73c54687a9ed63dc939bbe886170f4a47455ed (diff) |
Changed all instances of ^x across contrib to (meta x) since the ^x form is being deprecated in 1.1
refs #48
Diffstat (limited to 'src/clojure/contrib/repl_utils.clj')
-rw-r--r-- | src/clojure/contrib/repl_utils.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/repl_utils.clj b/src/clojure/contrib/repl_utils.clj index 2864179b..30c483ca 100644 --- a/src/clojure/contrib/repl_utils.clj +++ b/src/clojure/contrib/repl_utils.clj @@ -107,7 +107,7 @@ (when-let [filepath (:file (meta v))] (when-let [strm (.getResourceAsStream (RT/baseLoader) filepath)] (with-open [rdr (LineNumberReader. (InputStreamReader. strm))] - (dotimes [_ (dec (:line ^v))] (.readLine rdr)) + (dotimes [_ (dec (:line (meta v)))] (.readLine rdr)) (let [text (StringBuilder.) pbr (proxy [PushbackReader] [rdr] (read [] (let [i (proxy-super read)] |