[CLJ-732] (keyword "") can be printed, but not read Created: 26/Jan/11 Updated: 29/Jul/11 Resolved: 29/Jul/11 |
|
| Status: | Closed |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | Release 1.2 |
| Fix Version/s: | Backlog |
| Type: | Defect | Priority: | Minor |
| Reporter: | Zach Tellman | Assignee: | Unassigned |
| Resolution: | Declined | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Approval: | Incomplete |
| Waiting On: | Rich Hickey |
| Description |
|
user=> (keyword "") This obviously isn't a huge defect, but I'd argue that anything that can be printed should be readable. |
| Comments |
| Comment by Stuart Halloway [ 28/Jan/11 9:06 AM ] |
|
Patch that throws IllegalArgumentException would be ok for this. |
| Comment by Stuart Halloway [ 05/Apr/11 8:57 PM ] |
|
After a brief review of places that call intern, it appears that this problem might never be reached in the reader, only in user code calling (keyword ...). Does it make more sense to have the patch there, and a matching change for (symbol ...)? |