<< Back to previous view

[CLJS-363] `format` %s behavior is incorrect for keyword, symbol etc. Created: 29/Aug/12  Updated: 27/Jul/13  Resolved: 29/Aug/12

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

Type: Defect Priority: Major
Reporter: Shantanu Kumar Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: bug

ClojureScript Rhino REPL


On the Clojure REPL, `format` works fine:

user=> (format "foo%s" :s) 
user=> (format "foo%s" 's) 

However, on the CLJS REPL (Rhino), the output is different:

ClojureScript:cljs.user> (format "foo%s" :s) 
"foo 's" 
ClojureScript:cljs.user> (format "foo%s" 's) 
"foo 's"

Reference: http://groups.google.com/group/clojure/browse_thread/thread/b253d810536a4046

Comment by David Nolen [ 29/Aug/12 7:54 PM ]

fixed, http://github.com/clojure/clojurescript/commit/bf0622a594473c9a6de57fe3b5d10e0419fc7a2a

Generated at Tue Jan 16 23:45:30 CST 2018 using JIRA 4.4#649-r158309.