<< Back to previous view

[CLJS-671] Inconsistencies when calling 'name' on keywords from strings vs literal keywords Created: 08/Nov/13  Updated: 09/Nov/13  Resolved: 08/Nov/13

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Joe R. Smith Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: keywords

Clojurescript r2024; Java 1.7.0_25; OSX 10.9


1. (keyword "some.name.spaced/keyword")

2. (name (keyword "some.name.spaced/keyword"))

3. (name :some.name.space/keyword)

I'd expect 2 and 3 to return the same string, given 1 returns what looks like the keyword I give to 3.

In contrast to Clojure:
(keyword "some.name.spaced/keyword")

(name (keyword "some.name.spaced/keyword"))

(name :some.name.space/thing)

Comment by David Nolen [ 08/Nov/13 4:52 PM ]


Generated at Sun Jan 21 11:03:59 CST 2018 using JIRA 4.4#649-r158309.