technomancy/swank-clojure — Issue #101: who-calls is failing as (:file meta (v)) is full path
Author: emkayonline
Created: 2012-01-17 13:47:00+00:00
State: open

In swank.commands.xref/get-source-from-var (.getResourceAsStream) is used to get the source text. However, the result of (:file (meta v)) is a full file path name so the getReosurce is failing.

If the line is changed to:

(when-let [strm (java.io.FileInputStream. filepath)]

Then who-calls works again with swank-clojure,

Martin