Clojure

GC Issue 50: Fully qualified/classpath relative filename in a Var's metadata

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Reported by m...@kotka.de, Jan 19, 2009
Describe the feature/change.

Currently only the basename of the file where a Var is defined is stored in its metadata.
Unfortunately this is ambiguous. So extracting the exact position in the source tree
through use of the metadata is not possible.

Attached is a patch which stores

- the classpath relative filename for files loaded through the classpath or
- an absolute filename for files loaded via load-file

in the metadata of the Var. This removes any ambiguity.

Was this discussed on the group? If so, please provide a link to the discussion:

This was briefly asked on the #clojure channel.
http://clojure-log.n01se.net/date/2009-01-19.html#11:55

 issue-50.diff
921 bytes Download
Comment 1 by richhickey, Apr 12, 2009
Patch applied - r1349 - thanks!
Status: Fixed

People

  • Assignee:
    Unassigned
    Reporter:
    Anonymous
Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: