Details
-
Type:
Defect
-
Status:
In Progress
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Approved Backlog
-
Fix Version/s: Release 1.6
-
Component/s: None
-
Labels:None
-
Patch:Code
-
Approval:Ok
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.
Attachments
Activity
Stuart Halloway
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Stuart Halloway [ stu ] |
Alexander Redington
made changes -
| Reporter | Alexander Redington [ aredington ] | |
| Priority | Blocker [ 1 ] | |
| Approval | Vetted |
Colin Jones
made changes -
| Attachment | 0001-Fix-docstring-for-file-refs-196.patch [ 10063 ] |
Stuart Sierra
made changes -
| Fix Version/s | Approved Backlog [ 10034 ] | |
| Fix Version/s | Backlog [ 10035 ] | |
| Affects Version/s | Approved Backlog [ 10034 ] | |
| Priority | Blocker [ 1 ] | Minor [ 4 ] |
Stuart Sierra
made changes -
| Patch | Code |
Stuart Sierra
made changes -
| Approval | Vetted [ 10003 ] | Screened [ 10004 ] |
Stuart Sierra
made changes -
| Description |
According to http://clojure.org/api, {{*file*}} should return nil in the repl, but it returns "NO_SOURCE_PATH".
To reproduce; {code} > java -cp /usr/local/clojure-git/clojure.jar clojure.lang.Repl Clojure 1.1.0-alpha-SNAPSHOT user=> *file* "NO_SOURCE_PATH" user=> {code} I've tried this with 1.0 and with current git. This has not been discussed in the group. I figure this is trivial enough to skip the group. |
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. |
Stuart Sierra
made changes -
| Waiting On | richhickey |
Steve Miner
made changes -
| 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. |
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. |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Not Approved [ 10008 ] |
Colin Jones
made changes -
| Attachment | 0002-Don-t-promise-the-value-of-file-in-the-REPL.patch [ 11582 ] |
Christopher Redinger
made changes -
| Approval | Not Approved [ 10008 ] | Screened [ 10004 ] |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Ok [ 10007 ] |
| Fix Version/s | Approved Backlog [ 10034 ] | |
| Fix Version/s | Release 1.6 [ 10157 ] |
Converted from http://www.assembla.com/spaces/clojure/tickets/196