*file* returns "NO_SOURCE_PATH", but the doc says it should be nil

Description

According to http://clojure.org/api, *file* should return nil in the repl, but it returns "NO_SOURCE_PATH".

This has been true for a long time. Latest patch changes only the docstring of *file* to accurately reflect current behavior.

Environment

None

Attachments

2

Activity

Show:

Christopher Redinger November 27, 2012 at 11:33 PM

Patch applies cleanly and makes documentation more correct.

Colin Jones October 20, 2012 at 1:15 AM

The second patch avoids promising the return value. For clarity, it does mention the lack of guarantee instead of omitting any mention.

Rich Hickey October 19, 2012 at 11:47 PM

I'd rather promise nothing than promise this forever.

Stuart Sierra August 24, 2012 at 2:44 PM

Rescreened. Still applies on latest master.

Stuart Sierra March 23, 2012 at 2:32 PM

Docstring only. Screened.

Completed

Details

Assignee

Reporter

Approval

Ok

Patch

Code

Priority

Affects versions

Fix versions

Created October 10, 2009 at 10:34 AM
Updated August 15, 2013 at 12:13 AM
Resolved August 15, 2013 at 12:13 AM